MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / ThreadSleep

Function ThreadSleep

samples/hellovr_vulkan/hellovr_vulkan_main.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29#endif
30
31void ThreadSleep( unsigned long nMilliseconds )
32{
33#if defined(_WIN32)
34 ::Sleep( nMilliseconds );
35#elif defined(POSIX)
36 usleep( nMilliseconds * 1000 );
37#endif
38}
39
40// Pipeline state objects
41enum PipelineStateObjectEnum_t

Callers 1

FindOrLoadRenderModelMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected