CBL_THREAD_SLEEP
Causes the calling thread to give up control to the processor for the given
number of milliseconds.
Syntax:
call "CBL_THREAD_SLEEP" using by value milliseconds
Parameters:
|
Using call prototype (see Library Routines - Key) |
Picture (32-bit systems) |
milliseconds |
cblt-os-size |
pic x(4) comp-5 |
On Entry:
milliseconds |
Number of milliseconds |
On Exit:
Comments:
If the operating system does not support yielding a thread for millisecond
granularity, then the units are scaled to a granularity that the operating
system supports. The scaling is performed rounding to the nearest operating
system supported unit.
See Also: