Lines Matching defs:mask
1032 sigset_t mask;
1038 PJDLOG_VERIFY(sigemptyset(&mask) == 0);
1039 PJDLOG_VERIFY(sigaddset(&mask, SIGHUP) == 0);
1040 PJDLOG_VERIFY(sigaddset(&mask, SIGINT) == 0);
1041 PJDLOG_VERIFY(sigaddset(&mask, SIGTERM) == 0);
1042 PJDLOG_VERIFY(sigaddset(&mask, SIGCHLD) == 0);
1044 while ((signo = sigtimedwait(&mask, NULL, &sigtimeout)) != -1) {
1188 sigset_t mask;
1278 * so we can mask it.
1282 PJDLOG_VERIFY(sigemptyset(&mask) == 0);
1283 PJDLOG_VERIFY(sigaddset(&mask, SIGHUP) == 0);
1284 PJDLOG_VERIFY(sigaddset(&mask, SIGINT) == 0);
1285 PJDLOG_VERIFY(sigaddset(&mask, SIGTERM) == 0);
1286 PJDLOG_VERIFY(sigaddset(&mask, SIGCHLD) == 0);
1287 PJDLOG_VERIFY(sigprocmask(SIG_SETMASK, &mask, NULL) == 0);