MCPcopy Create free account
hub / github.com/Abc-Arbitrage/Disruptor-cpp / CPU_ZERO

Function CPU_ZERO

Disruptor/ThreadHelper_macOS.cpp:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 } cpu_set_t;
44
45 static inline void CPU_ZERO(cpu_set_t *cs) { cs->count = 0; }
46
47 static inline void CPU_SET(int num, cpu_set_t *cs) { cs->count |= (1 << num); }
48

Callers 4

setThreadAffinityFunction · 0.85
getThreadAffinityFunction · 0.85
setThreadAffinityFunction · 0.85
getThreadAffinityFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected