Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dspinlock.h52 SpinLock() : lockword_(kSpinLockCooperative) { in SpinLock()
62 : lockword_(IsCooperative(mode) ? kSpinLockCooperative : 0) {} in SpinLock()
99 lock_value = lockword_.exchange(lock_value & kSpinLockCooperative, in Unlock()
155 static constexpr uint32_t kSpinLockCooperative = 2; variable
160 ~(kSpinLockHeld | kSpinLockCooperative | kSpinLockDisabledScheduling);
224 if ((lock_value & kSpinLockCooperative) == 0) { in TryLockInternal()
Dspinlock.cc71 constexpr uint32_t SpinLock::kSpinLockCooperative; member in absl::base_internal::SpinLock
78 : lockword_(IsCooperative(mode) ? kSpinLockCooperative : 0) { in SpinLock()
110 if ((lock_value & kSpinLockCooperative) != 0) { in SlowLock()
/third_party/abseil-cpp/absl/base/internal/
Dspinlock.h55 SpinLock() : lockword_(kSpinLockCooperative) { in SpinLock()
65 : lockword_(IsCooperative(mode) ? kSpinLockCooperative : 0) {} in SpinLock()
102 lock_value = lockword_.exchange(lock_value & kSpinLockCooperative, in Unlock()
146 static constexpr uint32_t kSpinLockCooperative = 2; variable
151 ~(kSpinLockHeld | kSpinLockCooperative | kSpinLockDisabledScheduling);
215 if ((lock_value & kSpinLockCooperative) == 0) { in TryLockInternal()
Dspinlock.cc71 constexpr uint32_t SpinLock::kSpinLockCooperative; member in absl::base_internal::SpinLock
78 : lockword_(IsCooperative(mode) ? kSpinLockCooperative : 0) { in SpinLock()
110 if ((lock_value & kSpinLockCooperative) != 0) { in SlowLock()