Home
last modified time | relevance | path

Searched refs:init_byte (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxxabi/src/
H A Dcxa_guard_impl.h434 : init_byte(_init_byte_address), in InitByteFutex()
445 if (init_byte.compare_exchange(&last_val, PENDING_BIT, std::_AO_Acq_Rel, std::_AO_Acquire)) { in acquire()
467 …if (!init_byte.compare_exchange(&last_val, PENDING_BIT | WAITING_BIT, std::_AO_Acq_Rel, std::_AO_R… in acquire()
486 uint8_t old = init_byte.exchange(COMPLETE_BIT, std::_AO_Acq_Rel); in release()
496 uint8_t old = init_byte.exchange(UNSET, std::_AO_Acq_Rel); in abort()
510 AtomicInt<uint8_t> init_byte;
553 InitByteT init_byte; member
559 init_byte(reinterpret_cast<uint8_t*>(raw_guard_object) + 1, nullptr) {} in GuardObject()
572 if (guard_byte.acquire() || init_byte.acquire()) in cxa_guard_acquire()
583 init_byte.release(); in cxa_guard_release()
[all …]