MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / pleaseSleep

Function pleaseSleep

tests/cplusplus/Connection/AsyncAccessControl.cpp:43–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42inline void pleaseYield() { boost::this_thread::yield(); }
43inline void pleaseSleep() { boost::this_thread::sleep(WAIT_TIME); }
44
45/// @brief Quick hack to avoid having to depend on boost::scoped_thread and thus
46/// boost > 1.49.0

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected