CBL_THREAD_SLEEP

Syntax:

call "CBL_THREAD_SLEEP" using by value milliseconds

Parameters:

  Using call prototype (see Key) Picture
milliseconds cblt-os-size pic x(4) comp-5

On Entry:

milliseconds Number of milliseconds

On Exit:

return-code A value indicating success or otherwise. See RETURN-CODE Values For Thread-control Routines

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.