Searched refs:signalMask (Results 1 – 2 of 2) sorted by relevance
/system/chre/host/common/ |
D | daemon_base.cc | 59 sigset_t signalMask; in signalHandler() local 60 sigfillset(&signalMask); in signalHandler() 61 sigdelset(&signalMask, SIGINT); in signalHandler() 62 sigdelset(&signalMask, SIGTERM); in signalHandler() 63 if (sigprocmask(SIG_SETMASK, &signalMask, NULL) != 0) { in signalHandler() 69 if ((rc = sigwait(&signalMask, &signum)) != 0) { in signalHandler()
|
D | socket_server.cc | 239 sigset_t signalMask; in serviceSocket() local 240 sigfillset(&signalMask); in serviceSocket() 241 sigdelset(&signalMask, SIGINT); in serviceSocket() 242 sigdelset(&signalMask, SIGTERM); in serviceSocket() 246 int ret = ppoll(mPollFds, 1 + kMaxActiveClients, nullptr, &signalMask); in serviceSocket()
|