Ticket #30 (closed enhancement: fixed)

Opened 14 months ago

Last modified 13 months ago

Make tasks gracefully exitable.

Reported by: dave Owned by: dave
Priority: major Milestone: NxOS 0.2
Component: marvin Version:
Keywords: Cc:

Description

Currently if a task falls out of its "main", it'll probably cause a system crash, since nothing decent is loaded in the link registers. The task should exit cleanly, unregistering itself from the scheduler, and should DTRT with regard to held semaphores (assert or unlock, not sure).

Change History

Changed 13 months ago by dave

  • status changed from new to assigned

Task exiting and wrapping up is implemented in 50e61bebba25. No semaphore checking is implemented yet.

Changed 13 months ago by dave

  • status changed from assigned to closed
  • resolution set to fixed

Semaphore checking pushed off to another ticket.

Note: See TracTickets for help on using tickets.