Home
last modified time | relevance | path

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

/oneTBB/include/oneapi/tbb/
H A Dspin_rw_mutex.h68 state_type s = m_state.load(std::memory_order_relaxed); in lock()
84 state_type s = m_state.load(std::memory_order_relaxed); in try_lock()
121 state_type s = m_state.load(std::memory_order_relaxed); in try_lock_shared()
123 state_type prev_state = m_state.fetch_add(ONE_READER); in try_lock_shared()
148 state_type s = m_state.load(std::memory_order_relaxed); in upgrade()
176 using state_type = std::intptr_t; variable
177 static constexpr state_type WRITER = 1;
178 static constexpr state_type WRITER_PENDING = 2;
180 static constexpr state_type ONE_READER = 4;
181 static constexpr state_type BUSY = WRITER | READERS;
[all …]
H A Drw_mutex.h75 state_type s = m_state.load(std::memory_order_relaxed); in try_lock()
103 state_type has_writer = WRITER | WRITER_PENDING; in lock_shared()
115 state_type has_writer = WRITER | WRITER_PENDING; in try_lock_shared()
151 state_type s = m_state.load(std::memory_order_relaxed); in upgrade()
189 using state_type = std::intptr_t; variable
190 static constexpr state_type WRITER = 1;
191 static constexpr state_type WRITER_PENDING = 2;
192 static constexpr state_type READERS = ~(WRITER | WRITER_PENDING);
193 static constexpr state_type ONE_READER = 4;
194 static constexpr state_type BUSY = WRITER | READERS;
[all …]
/oneTBB/src/tbb/
H A Drtm_rw_mutex.cpp74 spin_wait_until_eq(m.m_state, d1::rtm_rw_mutex::state_type(0)); in acquire_writer()
/oneTBB/test/tbb/
H A Dtest_parallel_scan.cpp135 enum state_type { enum in Accumulator
155 mutable state_type my_state;
/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp276 enum state_type { enum
282 state_type state;
361 state_type state;
792 state_type state;
1210 state_type state = LIVE;