Sleep Functions
The following functions are available to access wRTOS sleep services:
- Sleep suspends the current thread for the specified number of milliseconds.
- RtSleepFt suspends the current thread for the specified time in 100-nanosecond units.
Programming Considerations
RtSleepFt is not supported for use within a Win32 timer thread.
The rounding policy for timer expirations, including timers, wait functions, and sleep functions, is to truncate the specified interval down to the timer tick count. If the count is zero, it is set to one.
Related Topics: