class SignalMaskHelper
Defined at line 148 of file ../../src/starnix/tests/syscalls/cpp/test_helper.h
Helper class to modify signal masks of processes
Public Methods
void blockSignal (int signal)
Blocks the specified signal and saves the original signal mask
to _sigmaskCopy.
Defined at line 288 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void waitForSignal (int signal)
Blocks the execution until the specified signal is received.
Defined at line 294 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
int timedWaitForSignal (intsignal,time_tmsec,siginfo_t *siginfo)
Blocks the execution until the specified signal is received or timed out.
Defined at line 301 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void restoreSigmask ()
Sets the signal mask of the process with _sigmaskCopy.
Defined at line 311 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc