Distributed Logger API  Version 1.6b [build 01]
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]msecSleep duration in milliseconds.

Distributed Logger API Version 1.6b [build 01] Copyright © Tue Feb 4 2014 Real-Time Innovations, Inc