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

Function GetMask

core/utils/syscallthread.cc:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 .initialized = false, .allmask = {}, .mostmask = {}};
51
52static inline const sigset_t *GetMask(bool all) {
53 assert(ProcessMasks.initialized);
54 return all ? &ProcessMasks.allmask : &ProcessMasks.mostmask;
55}
56
57/*
58 * When we receive an exit signal, that will interrupt any

Callers 3

RunInThreadMethod · 0.85
SigmaskMethod · 0.85
BlockSignalsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected