Home
last modified time | relevance | path

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

/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DEventCount.h56 state_ = kStackMask | (kEpochMask - kEpochInc * waiters.size() * 2); in EventCount()
61 eigen_assert((state_.load() & (kStackMask | kWaiterMask)) == kStackMask); in ~EventCount()
93 newstate = (newstate & ~kStackMask) | (w - &waiters_[0]); in CommitWait()
94 if ((state & kStackMask) == kStackMask) in CommitWait()
97 w->next.store(&waiters_[state & kStackMask], std::memory_order_relaxed); in CommitWait()
136 if ((state & kStackMask) == kStackMask && (state & kWaiterMask) == 0) in Notify()
142 newstate = (state & kEpochMask) + (kEpochInc * waiters) + kStackMask; in Notify()
148 Waiter* w = &waiters_[state & kStackMask]; in Notify()
150 uint64_t next = kStackMask; in Notify()
161 if ((state & kStackMask) == kStackMask) return; in Notify()
[all …]