Searched refs:oldValue (Results 1 – 1 of 1) sorted by relevance
177 T1 oldValue = dst.load(std::memory_order_acquire); in atomic_update() local178 while ( compare(oldValue, newValue) ) { in atomic_update()179 if ( dst.compare_exchange_strong(oldValue, newValue) ) in atomic_update()182 return oldValue; in atomic_update()