Home
last modified time | relevance | path

Searched refs:signal_mask_ (Results 1 – 2 of 2) sorted by relevance

/external/libbrillo/brillo/
Dasynchronous_signal_handler.cc18 CHECK_EQ(sigemptyset(&signal_mask_), 0) << "Failed to initialize signal mask"; in AsynchronousSignalHandler()
39 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, &saved_signal_mask_)); in Init()
42 descriptor_.reset(signalfd(-1, &signal_mask_, SFD_CLOEXEC | SFD_NONBLOCK)); in Init()
54 CHECK_EQ(0, sigaddset(&signal_mask_, signal)); in RegisterHandler()
63 CHECK_EQ(0, sigdelset(&signal_mask_, signal)); in UnregisterHandler()
93 if (sigismember(&signal_mask_, i) == 1 || sigismember(&saved_signal_mask_, i) == 1) { in UpdateSignals()
98 CHECK_EQ(0, sigorset(&mask, &signal_mask_, &saved_signal_mask_)); in UpdateSignals()
103 signalfd(descriptor_.get(), &signal_mask_, SFD_CLOEXEC | SFD_NONBLOCK)); in UpdateSignals()
Dasynchronous_signal_handler.h61 sigset_t signal_mask_; variable