Distributed Logger API
Version 1.6a [build 00]
|
Utility class. More...
Static Public Member Functions | |
static void | sleep (int msec) |
Block the calling thread for the specified duration. | |
Utility class.
|
static |
Block the calling thread for the specified duration.
Note that the achievable resolution of sleep is OS-dependent. That is, do not assume that you can sleep for 1 ms just because you can specify a 1-ms sleep duration via the API. The sleep resolution on most operating systems is usually 10 ms or greater.
[in] | duration | Sleep duration in milliseconds. |