From 1d53f7ea9b237b459caf088f5a755555b39391c5 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Tue, 14 Dec 2010 17:01:11 -0500 Subject: Spelling --- util/concurrency/synchronization.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/concurrency') 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(); -- cgit v1.2.1