RTI Distributed Logger API Version 7.6.0
RTI_DLUtility Class Reference

Commodity functions for using RTI Distributed Logger. More...

#include <rti_dl_cpp.h>

Static Public Member Functions

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

Detailed Description

Commodity functions for using RTI Distributed Logger.

Member Function Documentation

◆ sleep()

static void RTI_DLUtility::sleep ( int  msec)
static

Blocks 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.