MCPcopy Create free account
hub / github.com/cztomczak/cefpython / Acquire_Load

Function Acquire_Load

src/include/base/internal/cef_atomicops_mac.h:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) {
118 Atomic32 value = *ptr;
119 MemoryBarrier();
120 return value;
121}
122
123inline Atomic32 Release_Load(volatile const Atomic32* ptr) {
124 MemoryBarrier();

Callers 2

AtomicRefCountIsOneFunction · 0.50
AtomicRefCountIsZeroFunction · 0.50

Calls 1

MemoryBarrierFunction · 0.70

Tested by

no test coverage detected