]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1147] Addressed comments
authorFrancis Dupont <fdupont@isc.org>
Thu, 28 May 2020 14:53:36 +0000 (16:53 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 28 May 2020 14:53:36 +0000 (16:53 +0200)
src/lib/util/tests/readwrite_mutex_unittest.cc

index 0e5ee7344abc07fb9e3138ba62a0274930739df6..312920af94b5bc9cbbebd4ed26260f414a52152d 100644 (file)
@@ -424,7 +424,7 @@ TEST_F(ReadWriteMutexTest, readWriteRead) {
         }
         syncr_.work_cv.notify_one();
 
-        // Verify the reader thread is waiting for the rea lock.
+        // Verify the reader thread is waiting for the read lock.
         cout << "pausing for one second\n";
         timeout = false;
         while (!timeout && !syncr_.done) {
@@ -482,7 +482,7 @@ TEST_F(ReadWriteMutexTest, readWriteRead) {
     }
     syncr_.terminate_cv.notify_one();
 
-    // Join the writer thread.
+    // Join the reader thread.
     threadr.join();
 }