Functions | |
eError BURGER_API | nanosleep_delay (timespec *pInput, uint_t bAlertable=FALSE) BURGER_NOEXCEPT |
Sleep for a specific duration with nanosleep() | |
|
extern |
Sleep for a specific duration with nanosleep()
nanosleep() can be interrupted and the delay aborted. If this is not desired, then leave the parameter bAlertable set to FALSE. If bAlertable is set to TRUE, then interrupt aborts is allowed.
pInput | Pointer to an initialized timespec with the desired delay. |
bAlertable | TRUE if interruption is allowed |