UHD
003.005.004-0-ga219f16c
|
#include <atomic.hpp>
Public Member Functions | |
void | resize (const size_t size) |
Resize the barrier for N threads. More... | |
void | interrupt (void) |
UHD_INLINE void | wait (void) |
Wait on the barrier condition. More... | |
UHD_INLINE void | wait_others (void) |
Wait on the barrier condition. More... | |
A reusable barrier to sync multiple threads. All threads spin on wait() until count is reset.
|
inline |
Force the barrier wait to throw a boost::thread_interrupted The threads were not getting the interruption_point on windows.
|
inline |
Resize the barrier for N threads.
|
inline |
Wait on the barrier condition.
|
inline |
Wait on the barrier condition.