MCPcopy Create free account
hub / github.com/cameron314/readerwriterqueue / load

Method load

atomicops.h:285–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283#ifndef AE_USE_STD_ATOMIC_FOR_WEAK_ATOMIC
284 template<typename U> AE_FORCEINLINE weak_atomic const& operator=(U&& x) AE_NO_TSAN { value = std::forward<U>(x); return *this; }
285 AE_FORCEINLINE weak_atomic const& operator=(weak_atomic const& other) AE_NO_TSAN { value = other.value; return *this; }
286
287 AE_FORCEINLINE T load() const AE_NO_TSAN { return value; }
288
289 AE_FORCEINLINE T fetch_add_acquire(T increment) AE_NO_TSAN
290 {

Callers 15

try_dequeueFunction · 0.80
peekFunction · 0.80
size_approxFunction · 0.80
max_capacityFunction · 0.80
inner_enqueueFunction · 0.80
weak_atomicMethod · 0.80
weak_atomicClass · 0.80
atomicops.hFile · 0.80
availableApproxFunction · 0.80
threadedMethod · 0.80

Calls

no outgoing calls

Tested by 6

threadedMethod · 0.64
peekMethod · 0.64
popMethod · 0.64
size_approxMethod · 0.64
blockingMethod · 0.64