call "CBL_THREAD_SLEEP" using by value milliseconds
|Using call prototype (see Key)||Picture|
|milliseconds||cblt-os-size||pic x(4) comp-5
pic x(8) comp-5 (64-bit native programs only)
|milliseconds||Number of milliseconds|
|return-code||A value indicating success or otherwise. See RETURN-CODE Values For Thread-control Routines|
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.