establishes a synchronization point between threads. More...
#include <synchronization.h>
Public Member Functions | |
| void | wait () |
| awaits the next notifyAll() call by another thread. | |
| void | notifyAll () |
| may be called multiple times. | |
establishes a synchronization point between threads.
N threads are waits and one is notifier. threadsafe.
| void mongo::NotifyAll::notifyAll | ( | ) |
may be called multiple times.
notifies all waiters
| void mongo::NotifyAll::wait | ( | ) |
awaits the next notifyAll() call by another thread.
notifications that precede this call are ignored -- we are looking for a fresh event.
1.6.3