MCPcopy Create free account
hub / github.com/NetSys/bess / BlockSignals

Method BlockSignals

core/utils/syscallthread.cc:140–142  ·  view source on GitHub ↗

* Blocks most (all==false) or all (all==true) signals. Called from * the {Push,Pop}Defer methods of SyscallThreadAny. */

Source from the content-addressed store, hash-verified

138 * the {Push,Pop}Defer methods of SyscallThreadAny.
139 */
140void SyscallThreadAny::BlockSignals(bool all) {
141 PthreadSetSigmask(GetMask(all));
142}
143
144/*
145 * Runs the knock thread: keeps kicking the normal thread until

Callers

nothing calls this directly

Calls 2

PthreadSetSigmaskFunction · 0.85
GetMaskFunction · 0.85

Tested by

no test coverage detected