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

Function pleaseYield

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

Source from the content-addressed store, hash-verified

40const auto WAIT_TIME = boost::posix_time::seconds(1);
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

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected