Ticket #40 (closed defect: fixed)
Remove some control from the functions in _scheduler.h
| Reported by: | dave | Owned by: | dave |
|---|---|---|---|
| Priority: | major | Milestone: | NxOS 0.2 |
| Component: | marvin | Version: | |
| Keywords: | Cc: |
Description (last modified by dave) (diff)
Currently mv__scheduler_block_task and mv__scheduler_suspend_task can affect any task they like. This is not acceptable. Both functions should assume that they are acting on the currently active thread, and end in preemption after doing their work. Only mv__scheduler_unblock_task actually should have a task handle parameter and be non-blocking.
Change History
Note: See
TracTickets for help on using
tickets.
