diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-12-14 17:01:11 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-12-15 14:43:04 -0500 |
commit | 1d53f7ea9b237b459caf088f5a755555b39391c5 (patch) | |
tree | 87788c190119140d79923475a9ea481a92af1e57 /util/concurrency | |
parent | d039110cb7adf43af9c9c6fc0e19818d76f3800c (diff) | |
download | mongo-1d53f7ea9b237b459caf088f5a755555b39391c5.tar.gz |
Spelling
Diffstat (limited to 'util/concurrency')
-rw-r--r-- | util/concurrency/synchronization.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/concurrency/synchronization.h b/util/concurrency/synchronization.h index 353b9568c6b..c2e70cabe19 100644 --- a/util/concurrency/synchronization.h +++ b/util/concurrency/synchronization.h @@ -23,7 +23,7 @@ namespace mongo { /* - * A class to establish a sinchronization point between two threads. One thread is the waiter and one is + * A class to establish a synchronization point between two threads. One thread is the waiter and one is * the notifier. After the notification event, both proceed normally. * * This class is thread-safe. @@ -49,14 +49,14 @@ namespace mongo { boost::condition _condition; // cond over _notified being true }; - /** establishes a sinchronization point between threads. N threads are waits and one is notifier. + /** establishes a synchronization point between threads. N threads are waits and one is notifier. threadsafe. */ class NotifyAll : boost::noncopyable { public: NotifyAll(); - /** awaits the next notifyAll() call by another thread. notifications that preceed this + /** awaits the next notifyAll() call by another thread. notifications that precede this call are ignored -- we are looking for a fresh event. */ void wait(); |