Can block multiple threads and wait for signal. ThreadsLatch is not reusable. Use ThreadsBarrier instead.
More...
#include <ThreadsLatch.h>
Can block multiple threads and wait for signal. ThreadsLatch is not reusable. Use ThreadsBarrier instead.
sw::ThreadsLatch::ThreadsLatch |
( |
uint16 |
numThreads | ) |
|
|
explicit |
sw::ThreadsLatch::~ThreadsLatch |
( |
| ) |
|
|
default |
void sw::ThreadsLatch::ArriveAndWait |
( |
| ) |
|
std::condition_variable sw::ThreadsLatch::m_condVariable |
|
private |
std::mutex sw::ThreadsLatch::m_lock |
|
private |
uint16 sw::ThreadsLatch::m_remain |
|
private |
The documentation for this class was generated from the following files:
- D:/ProgramyVS/SWLibraries/swCommonLib/Common/Multithreading/ThreadsLatch.h
- D:/ProgramyVS/SWLibraries/swCommonLib/Common/Multithreading/ThreadsLatch.cpp