From: JINMEI Tatuya Date: Mon, 15 Oct 2012 20:42:24 +0000 (-0700) Subject: [2332] fixing typos and wording in doc X-Git-Tag: trac2402_base~19^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a439004524335feb296ee7477a5b450a2a7d7953;p=thirdparty%2Fkea.git [2332] fixing typos and wording in doc --- diff --git a/src/lib/util/threads/lock.h b/src/lib/util/threads/lock.h index 89284a1b8f..3736c511a2 100644 --- a/src/lib/util/threads/lock.h +++ b/src/lib/util/threads/lock.h @@ -133,7 +133,7 @@ private: /// /// This class provides a simple encapsulation of condition variable for /// inter-thread synchronization. It has similar but simplified interface as -/// that for \c pthread_bond_ variants. +/// that for \c pthread_cond_ variants. /// /// It uses the \c Mutex class object for the mutex used with the condition /// variable. Since for normal applications the internal \c Mutex::Locker @@ -172,7 +172,7 @@ public: /// \brief Destructor. /// - /// An object of this class must not be destructed while some thread + /// An object of this class must not be destroyed while some thread /// is waiting on it. If this condition isn't met the destructor will /// terminate the program. ~CondVar(); @@ -195,7 +195,7 @@ public: /// \brief Unblock a thread waiting for the condition variable. /// - /// This method waits one of other threads (if any) waiting on this object + /// This method wakes one of other threads (if any) waiting on this object /// via the \c wait() call. /// /// This method never throws; if some unexpected low level error happens