RTI Connext Modern C++ API
Version 5.2.3
|
Unsupported APIs used by examples in the RTI Connext distribution as well as in rtiddsgen-generated examples. More...
Functions | |
void | rti::util::sleep (const dds::core::Duration &durationIn) |
Block the calling thread for the specified duration. | |
Unsupported APIs used by examples in the RTI Connext distribution as well as in rtiddsgen-generated examples.
void rti::util::sleep | ( | const dds::core::Duration & | durationIn | ) |
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 nanosecond just because you can specify a 1-nanosecond sleep duration via the API. The sleep resolution on most operating systems is usually 10 ms or greater.
durationIn | <<in>> Sleep duration. |