class SignalMaskHelper

Defined at line 140 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 224 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 230 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc

int timedWaitForSignal (int signal, time_t msec)

Blocks the execution until the specified signal is received or timed out.

Defined at line 237 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc

void restoreSigmask ()

Sets the signal mask of the process with _sigmaskCopy.

Defined at line 245 of file ../../src/starnix/tests/syscalls/cpp/test_helper.cc