Home
last modified time | relevance | path

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

/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dspinlock.cc87 Atomic32 lock_value = in SpinLoop() local
91 return lock_value; in SpinLoop()
101 Atomic32 lock_value = SpinLoop(wait_start_time, &wait_cycles); in SlowLock() local
104 while (lock_value != kSpinLockFree) { in SlowLock()
107 if (lock_value == kSpinLockHeld) { in SlowLock()
111 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, in SlowLock()
114 if (lock_value == kSpinLockHeld) { in SlowLock()
118 lock_value = kSpinLockSleeper; in SlowLock()
119 } else if (lock_value == kSpinLockFree) { in SlowLock()
123 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, in SlowLock()
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dspinlock.cc87 Atomic32 lock_value = in SpinLoop() local
91 return lock_value; in SpinLoop()
101 Atomic32 lock_value = SpinLoop(wait_start_time, &wait_cycles); in SlowLock() local
104 while (lock_value != kSpinLockFree) { in SlowLock()
107 if (lock_value == kSpinLockHeld) { in SlowLock()
111 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, in SlowLock()
114 if (lock_value == kSpinLockHeld) { in SlowLock()
118 lock_value = kSpinLockSleeper; in SlowLock()
119 } else if (lock_value == kSpinLockFree) { in SlowLock()
123 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_, in SlowLock()
[all …]