HomeSort by relevance Sort by last modified time
    Searched refs:lockword_ (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
spinlock.h 54 SpinLock() : lockword_(kSpinLockFree) { }
66 // Does nothing; lockword_ is already initialized
73 if (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree,
86 (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree,
99 static_cast<uint64>(base::subtle::NoBarrier_Load(&lockword_));
101 base::subtle::Release_Store(&lockword_, kSpinLockFree);
114 return base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree;
123 volatile Atomic32 lockword_; member in class:SpinLock
spinlock.cc 84 while (base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree && --c > 0) {
88 base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree,
111 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_,
123 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_,
131 base::internal::SpinLockDelay(&lockword_, lock_value,
152 base::internal::SpinLockWake(&lockword_, false); // wake waiter if necessary
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
spinlock.h 54 SpinLock() : lockword_(kSpinLockFree) { }
66 // Does nothing; lockword_ is already initialized
73 if (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree,
86 (base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree,
99 static_cast<uint64>(base::subtle::NoBarrier_Load(&lockword_));
101 base::subtle::Release_Store(&lockword_, kSpinLockFree);
114 return base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree;
123 volatile Atomic32 lockword_; member in class:SpinLock
spinlock.cc 84 while (base::subtle::NoBarrier_Load(&lockword_) != kSpinLockFree && --c > 0) {
88 base::subtle::Acquire_CompareAndSwap(&lockword_, kSpinLockFree,
111 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_,
123 lock_value = base::subtle::Acquire_CompareAndSwap(&lockword_,
131 base::internal::SpinLockDelay(&lockword_, lock_value,
152 base::internal::SpinLockWake(&lockword_, false); // wake waiter if necessary

Completed in 30 milliseconds