next up previous contents index
Next: 6.16.1 osenv_sleep_init: prepare to Up: 6 OSKit Device Driver Previous: 6.15.8 osenv_irq_pending: Determine if

6.16 Sleep/Wakeup

The current driver model only allow one thread or request into the driver set at a time. However, if the driver set is waiting for an external event and can handle another request while it is waiting, then the driver sleeps.

The default implementation of sleep busy-waits on the event, as it is not possible for it to do more without knowledge of the operating sysmte environment it is in.





University of Utah Flux Research Group