SleepTSec
Sleeps for a number of tenths of a second.
Synopsis
Err SleepTSec (Item ioreq, uint32 tseconds)
Description
Puts the calling task in a wait state for the specified number of tenths-of-a-second. The function does not return until the time has passed.
Arguments
- ioreq
- IOReq item obtained from GetTimerIOReq(), or zero to have an IOReq dynamically created/deleted during the call.
- tseconds
- Number of tenths-of-a-second to sleep. This value can be larger than 10.
Return Value
Zero for success, or a negative error code.
Implementation
Library call implemented in lib3do.lib.
Associated Files
lib3do.lib, timerutils.h
See Also
GetTimerIOReq