26 #ifndef INCLUDED_Microsleep_h_GUID_18728CEA_A634_4268_845E_86007CA19511 27 #define INCLUDED_Microsleep_h_GUID_18728CEA_A634_4268_845E_86007CA19511 31 #include <osvr/Util/Export.h> 34 #include <boost/thread/thread.hpp> 57 boost::this_thread::sleep(
58 boost::posix_time::microseconds(microseconds));
68 #endif // INCLUDED_Microsleep_h_GUID_18728CEA_A634_4268_845E_86007CA19511 Definition: RunLoopManager.h:42
OSVR_ReturnCode microsleep(OSVR_IN uint64_t microseconds)
Request a thread sleep for at least the given number of microseconds.
Definition: Microsleep.h:56
Header declaring a type and values for simple C return codes.
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
#define OSVR_RETURN_SUCCESS
The "success" value for an OSVR_ReturnCode.
Definition: ReturnCodesC.h:45
#define OSVR_IN
Indicates a required function parameter that serves only as input.
Definition: AnnotationMacrosC.h:100