Distributed Logger API  Version 1.6a [build 00]
RTI_DLUtility Class Reference

Utility class. More...

Static Public Member Functions

static void sleep (int msec)
 Block the calling thread for the specified duration.
 

Detailed Description

Utility class.

Member Function Documentation

static void RTI_DLUtility::sleep ( int  msec)
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.

Parameters
[in]durationSleep duration in milliseconds.

Distributed Logger API Version 1.6a [build 00] Copyright © Thu Aug 30 2012 Real-Time Innovations, Inc