Place for a simple wrapper around boost.
More...
#include <boost/chrono.hpp>
#include <boost/thread.hpp>
Go to the source code of this file.
|
| SurgSim |
| Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions.
|
|
Place for a simple wrapper around boost.
§ sleep_until()
template<class C , class D >
void SurgSim::Framework::sleep_until |
( |
const boost::chrono::time_point< C, D > & |
time | ) |
|
A more accurate sleep_until that accounts for scheduler errors.
- Template Parameters
-
C | Clock type |
D | Duration type |
- Parameters
-
time | The time point in absolute time to sleep until |