Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
setThreadAffinity
Function · 0.85
getThreadAffinity
Function · 0.85
setThreadAffinity
Function · 0.85
getThreadAffinity
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected