24 #ifndef SURGSIM_FRAMEWORK_BARRIER_H 25 #define SURGSIM_FRAMEWORK_BARRIER_H 27 #include <boost/thread/mutex.hpp> 28 #include <boost/thread/condition_variable.hpp> 61 bool wait(
bool success);
65 boost::condition_variable m_cond;
Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
bool wait(bool success)
Waits until all count threads have called wait.
Definition: Barrier.cpp:35
Barrier(size_t count)
Construct the barrier.
Definition: Barrier.cpp:26
Barrier class, synchronize a set of threads to wait at a common point, all threads will wait at Barri...
Definition: Barrier.h:45
The header that provides the assertion API.