Home | History | Annotate | Download | only in tests

Lines Matching refs:pthread_sigmask

358 TEST(pthread, pthread_sigmask) {
362 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, NULL, &original_set));
369 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, &set, NULL));
374 ASSERT_EQ(0, pthread_sigmask(SIG_BLOCK, NULL, &final_set));
376 // ...and that sigprocmask agrees with pthread_sigmask.
396 ASSERT_EQ(0, pthread_sigmask(SIG_SETMASK, &original_set, NULL));