Searched refs:atomic_func (Results 1 – 1 of 1) sorted by relevance
1751 Atomic<Closure*>* atomic_func = reinterpret_cast<Atomic<Closure*>*>(&tlsPtr_.flip_function); in GetFlipFunction() local1754 func = atomic_func->load(std::memory_order_relaxed); in GetFlipFunction()1758 } while (!atomic_func->CompareAndSetWeakSequentiallyConsistent(func, nullptr)); in GetFlipFunction()1765 Atomic<Closure*>* atomic_func = reinterpret_cast<Atomic<Closure*>*>(&tlsPtr_.flip_function); in SetFlipFunction() local1766 atomic_func->store(function, std::memory_order_seq_cst); in SetFlipFunction()