26 #ifndef INCLUDED_Microsleep_h_GUID_18728CEA_A634_4268_845E_86007CA19511
27 #define INCLUDED_Microsleep_h_GUID_18728CEA_A634_4268_845E_86007CA19511
34 #include <boost/thread/thread.hpp>
56 inline OSVR_ReturnCode
microsleep(OSVR_IN uint64_t microseconds) {
57 boost::this_thread::sleep(
58 boost::posix_time::microseconds(microseconds));
68 #endif // INCLUDED_Microsleep_h_GUID_18728CEA_A634_4268_845E_86007CA19511
Header declaring a type and values for simple C return codes.
Automatically-generated export header - do not edit!
#define OSVR_RETURN_SUCCESS
The "success" value for an OSVR_ReturnCode.
OSVR_ReturnCode microsleep(uint64_t microseconds)
Request a thread sleep for at least the given number of microseconds.