The timeout() function schedules the specified function to be called after a specified time interval. The exact time interval over which the timeout takes
effect cannot be guaranteed, but the value given is a close approximation.
The function called by timeout() must adhere to the same restrictions as a driver soft interrupt handler.
The function called by timeout() is run in interrupt context and must not sleep or call other functions that might sleep.
The delay(9F) function calls timeout(). Because timeout() is subject to priority inversion, drivers waiting on behalf of processes with real-time
constraints should use cv_timedwait(9F) rather than delay().
|