MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / atomic_load_maybe

Function atomic_load_maybe

source/util/ring_buffer.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21template <class T>
22inline T atomic_load_maybe(const std::atomic<T> &src, std::memory_order order)
23{
24 return src.load(order);
25}
26
27template <class T>
28inline T atomic_load_maybe(const T &src, std::memory_order)

Callers 4

size_usedMethod · 0.85
size_freeMethod · 0.85
getbytes_ex_Method · 0.85
putbytes_Method · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected