FastLED 3.9.15
Loading...
Searching...
No Matches

◆ compare_exchange_weak()

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

Definition at line 58 of file atomic.h.

58 {
59 if (mValue == expected) {
61 return true;
62 } else {
64 return false;
65 }
66 }

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

+ Here is the caller graph for this function: