]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4065] Added test description in the thread.cc
authorMarcin Siodelski <marcin@isc.org>
Thu, 24 Sep 2015 13:38:03 +0000 (15:38 +0200)
committerMarcin Siodelski <marcin@isc.org>
Thu, 24 Sep 2015 13:38:03 +0000 (15:38 +0200)
src/lib/util/threads/tests/thread_unittest.cc

index 347d91348b82a04266a698c115c92e39cd995a1f..a334c7576f902aca5d4d2a3728b1c3e8c27ab9f7 100644 (file)
@@ -108,12 +108,13 @@ TEST(ThreadTest, exception) {
     }
 }
 
+// Returns signal mask set for a thread.
 void
 getSignalMask(sigset_t* mask) {
     pthread_sigmask(SIG_SETMASK, 0, mask);
 }
 
-// Verify that all signals are blocked
+// Verify that all signals are blocked.
 TEST(ThreadTest, sigmask) {
     sigset_t mask;
     sigemptyset(&mask);