Browse Source

[4065] Added test description in the thread.cc

Marcin Siodelski 9 years ago
parent
commit
2695f920d5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/util/threads/tests/thread_unittest.cc

+ 2 - 1
src/lib/util/threads/tests/thread_unittest.cc

@@ -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);