]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2332] fixing typos and wording in doc
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 15 Oct 2012 20:42:24 +0000 (13:42 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 15 Oct 2012 20:42:24 +0000 (13:42 -0700)
src/lib/util/threads/lock.h

index 89284a1b8f79a913f5e39102bfe6f97c4f41476b..3736c511a2670163d508cbabc01ea6cbee3e7048 100644 (file)
@@ -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