mongo::NotifyAll Class Reference

establishes a synchronization point between threads. More...

#include <synchronization.h>

List of all members.

Public Member Functions

void wait ()
 awaits the next notifyAll() call by another thread.
void notifyAll ()
 may be called multiple times.

Detailed Description

establishes a synchronization point between threads.

N threads are waits and one is notifier. threadsafe.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 01:46:38 2011 for MongoDB by  doxygen 1.6.3