FastLED 3.10.8
Loading...
Searching...
No Matches

◆ compare_exchange_weak()

template<typename T>
bool fl::AtomicFake< T >::compare_exchange_weak ( T & expected,
T desired,
memory_order = memory_order_seq_cst )
inline

Definition at line 77 of file atomic.h.

77 {
78 if (mValue == expected) {
80 return true;
81 } else {
83 return false;
84 }
85 }
T volatile mValue
Definition atomic.h:195

Referenced by fl::AtomicFake< bool >::compare_exchange_strong().

+ Here is the caller graph for this function: