Lines Matching refs:sync_detail
36 int v = sync_detail::UNLOCK;
37 bool ret = l.compare_exchange_strong(v, sync_detail::LOCK, std::memory_order_acquire, std::memory_order_relaxed);
61 int v = sync_detail::UNLOCK;
62 if (l.compare_exchange_strong(v, sync_detail::LOCK, std::memory_order_acquire, std::memory_order_relaxed)) {
65 if (l.load(std::memory_order_relaxed) == sync_detail::WAIT) {
68 while (l.exchange(sync_detail::WAIT, std::memory_order_acquire) != sync_detail::UNLOCK) {
211 if (l.exchange(sync_detail::UNLOCK, std::memory_order_release) == sync_detail::WAIT) {
222 if (l.load(std::memory_order_relaxed) != sync_detail::WAIT) {
239 if (l.load(std::memory_order_relaxed) != sync_detail::WAIT) {