Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dasynchronous_signal_handler.cc25 CHECK_EQ(sigemptyset(&signal_mask_), 0) << "Failed to initialize signal mask"; in AsynchronousSignalHandler()
44 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, &saved_signal_mask_)); in Init()
46 signalfd(descriptor_, &signal_mask_, SFD_CLOEXEC | SFD_NONBLOCK); in Init()
62 CHECK_EQ(0, sigaddset(&signal_mask_, signal)); in RegisterHandler()
95 CHECK_EQ(0, sigdelset(&signal_mask_, signal)); in ResetSignal()
102 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, nullptr)); in UpdateSignals()
104 signalfd(descriptor_, &signal_mask_, SFD_CLOEXEC | SFD_NONBLOCK)); in UpdateSignals()
Dasynchronous_signal_handler.h56 sigset_t signal_mask_; variable