Lines Matching defs:mask
687 * @tc.name pause and mask test
745 but signal mask set should inherited, and the change of child's pending set should not effect parent's.
764 EXPECT_EQ(1, sigisemptyset(&oldmask)) << "initial sig mask set should empty";
786 sigprocmask(SIG_BLOCK, nullptr, &oldmask); // read mask
788 LOG("signal mask set should reserved via fork");
948 * @tc.name sigprocmask function test: mask operation
1175 LOG("Check current mask...");
1297 * @tc.name test that the signal-mask should inherited from the creator
1644 LOG("check that the signal is added to the mask");
1679 LOG("add sig to mask");
1680 sigset_t mask;
1681 sigemptyset(&mask);
1682 sigaddset(&mask, SIGINT);
1683 int rt = sigprocmask(SIG_BLOCK, &mask, nullptr);
1686 LOG("delete signal from the mask");
1691 sigemptyset(&mask);
1692 rt = sigprocmask(SIG_BLOCK, nullptr, &mask);
1694 EXPECT_EQ(sigisemptyset(&mask), 1);