Commit 2695f920 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[4065] Added test description in the thread.cc

parent 76b630b6
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment