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

Function atomic_store_maybe

source/util/ring_buffer.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33template <class T>
34inline void atomic_store_maybe(std::atomic<T> &dst, const T &value, std::memory_order order)
35{
36 return dst.store(value, order);
37}
38
39template <class T>
40inline void atomic_store_maybe(T &dst, const T &value, std::memory_order)

Callers 2

getbytes_ex_Method · 0.85
putbytes_Method · 0.85

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected