Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ cpuPause
Function
cpuPause
src/engine/Engine.cpp:24–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
23
24
inline void cpuPause() {
25
#if defined ARCH_X64
26
_mm_pause();
27
#elif defined ARCH_ARM64
28
__yield();
29
#endif
30
}
31
32
33
/** Multiple-phase barrier based on C++ mutexes, as a reference.
Callers
2
wait
Method · 0.85
wait
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected