next up previous contents
Next: Scheduler API Up: Semaphore Library Previous: Semaphore Signal   Contents

Semaphore Library & Scheduling API

Typical Real Time Oprating Systems support various priority handling policies, like priority ceiling and priority inheritance. However in rtker, the scheduling of threads (and hence priorities) is not handled by the kernel but by the user defined scheduling algorithm. Hence we have defined functions like get_priority and set_priority in the Scheduler API, which the semaphore library can invoke for implementiong the desired priority control policy. This thing is yet to be incorporated into the kernel.

Soumyadeb Mitra 2002-08-07