class SignalMaskHelper
Defined at line 142 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 255 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 261 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 268 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc
void restoreSigmask ()
Sets the signal mask of the process with _sigmaskCopy.
Defined at line 278 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc