Searched refs:child_mask (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
D | incidentd_util.cpp | 183 sigset_t child_mask, old_mask; in waitpid_with_timeout() local 184 sigemptyset(&child_mask); in waitpid_with_timeout() 185 sigaddset(&child_mask, SIGCHLD); in waitpid_with_timeout() 187 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout() 195 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, nullptr, &ts)); in waitpid_with_timeout()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 47 sigset_t child_mask, old_mask; in waitpid_with_timeout() local 48 sigemptyset(&child_mask); in waitpid_with_timeout() 49 sigaddset(&child_mask, SIGCHLD); in waitpid_with_timeout() 51 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout() 59 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, nullptr, &ts)); in waitpid_with_timeout()
|