Searched refs:STATE_UPGRADE_WAITING (Results 1 – 1 of 1) sorted by relevance
95 STATE_UPGRADE_WAITING = 1<<5, enumerator99 STATE_COMBINED_UPGRADING = STATE_UPGRADE_WAITING | STATE_UPGRADE_LOSER197 pred_state = STATE_UPGRADE_WAITING; in acquire()314 if( next->my_state.load(std::memory_order_acquire)==STATE_UPGRADE_WAITING ) { in release()448 else if( next->my_state.load(std::memory_order_acquire)==STATE_UPGRADE_WAITING ) in downgrade_to_reader()501 __TBB_ASSERT( n_state & (STATE_WRITER | STATE_UPGRADE_WAITING), "unexpected state"); in upgrade_to_writer()515 …s.my_state.compare_exchange_strong(old_state, STATE_UPGRADE_WAITING, std::memory_order_release, st… in upgrade_to_writer()536 …predecessor->my_state.compare_exchange_strong(old_state, STATE_UPGRADE_WAITING, std::memory_order_… in upgrade_to_writer()