HomeSort by relevance Sort by last modified time
    Searched refs:SpinLock (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
spinlock.h 39 // SpinLock is async signal safe.
52 class LOCKABLE SpinLock {
54 SpinLock() : lockword_(kSpinLockFree) { }
56 // Special constructor for use with static SpinLock objects. E.g.,
58 // static SpinLock lock(base::LINKER_INITIALIZED);
62 // A SpinLock constructed like this can be freely used from global
65 explicit SpinLock(base::LinkerInitialized /*x*/) {
69 // Acquire this SpinLock.
80 // Try to acquire this SpinLock without blocking and return true if the
82 // returned. If this SpinLock is free at the time of the call, TryLoc
    [all...]
spinlock.cc 35 #include "base/spinlock.h"
54 const base::LinkerInitialized SpinLock::LINKER_INITIALIZED =
81 Atomic32 SpinLock::SpinLoop(int64 initial_wait_timestamp,
94 void SpinLock::SlowLock() {
151 void SpinLock::SlowUnlock(uint64 wait_cycles) {
173 inline int32 SpinLock::CalculateWaitCycles(int64 wait_start_time) {
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
spinlock.h 39 // SpinLock is async signal safe.
52 class LOCKABLE SpinLock {
54 SpinLock() : lockword_(kSpinLockFree) { }
56 // Special constructor for use with static SpinLock objects. E.g.,
58 // static SpinLock lock(base::LINKER_INITIALIZED);
62 // A SpinLock constructed like this can be freely used from global
65 explicit SpinLock(base::LinkerInitialized /*x*/) {
69 // Acquire this SpinLock.
80 // Try to acquire this SpinLock without blocking and return true if the
82 // returned. If this SpinLock is free at the time of the call, TryLoc
    [all...]
spinlock.cc 35 #include "base/spinlock.h"
54 const base::LinkerInitialized SpinLock::LINKER_INITIALIZED =
81 Atomic32 SpinLock::SpinLoop(int64 initial_wait_timestamp,
94 void SpinLock::SlowLock() {
151 void SpinLock::SlowUnlock(uint64 wait_cycles) {
173 inline int32 SpinLock::CalculateWaitCycles(int64 wait_start_time) {
  /external/chromium_org/third_party/tcmalloc/chromium/src/
static_vars.cc 42 SpinLock Static::pageheap_lock_(SpinLock::LINKER_INITIALIZED);
static_vars.h 39 #include "base/spinlock.h"
52 static SpinLock* pageheap_lock() { return &pageheap_lock_; }
86 static SpinLock pageheap_lock_;
type_profiler_map.cc 18 #include "base/spinlock.h"
45 SpinLock g_type_profiler_lock(SpinLock::LINKER_INITIALIZED);
central_freelist.h 41 #include "base/spinlock.h"
153 SpinLock lock_;
memory_region_map.h 45 #include "base/spinlock.h"
308 static SpinLock lock_;
310 static SpinLock owner_lock_;
central_freelist.cc 190 SpinLock *held_, *temp_;
192 inline explicit LockInverter(SpinLock* held, SpinLock *temp)
debugallocation.cc 75 #include "base/spinlock.h"
313 static SpinLock alloc_map_lock_;
323 static SpinLock free_queue_lock_;
823 SpinLock MallocBlock::alloc_map_lock_(SpinLock::LINKER_INITIALIZED);
827 SpinLock MallocBlock::free_queue_lock_(SpinLock::LINKER_INITIALIZED);
    [all...]
internal_logging.cc 46 #include "base/spinlock.h" // for SpinLockHolder, SpinLock
52 static SpinLock crash_lock(base::LINKER_INITIALIZED);
memory_region_map.cc 144 SpinLock MemoryRegionMap::lock_(SpinLock::LINKER_INITIALIZED);
145 SpinLock MemoryRegionMap::owner_lock_( // ACQUIRED_AFTER(lock_)
146 SpinLock::LINKER_INITIALIZED);
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/
static_vars.cc 42 SpinLock Static::pageheap_lock_(SpinLock::LINKER_INITIALIZED);
static_vars.h 39 #include "base/spinlock.h"
52 static SpinLock* pageheap_lock() { return &pageheap_lock_; }
86 static SpinLock pageheap_lock_;
central_freelist.h 41 #include "base/spinlock.h"
153 SpinLock lock_;
memory_region_map.h 45 #include "base/spinlock.h"
284 static SpinLock lock_;
286 static SpinLock owner_lock_;
central_freelist.cc 191 SpinLock *held_, *temp_;
193 inline explicit LockInverter(SpinLock* held, SpinLock *temp)
memory_region_map.cc 143 SpinLock MemoryRegionMap::lock_(SpinLock::LINKER_INITIALIZED);
144 SpinLock MemoryRegionMap::owner_lock_( // ACQUIRED_AFTER(lock_)
145 SpinLock::LINKER_INITIALIZED);
debugallocation.cc 74 #include "base/spinlock.h"
315 static SpinLock alloc_map_lock_;
325 static SpinLock free_queue_lock_;
816 SpinLock MallocBlock::alloc_map_lock_(SpinLock::LINKER_INITIALIZED);
820 SpinLock MallocBlock::free_queue_lock_(SpinLock::LINKER_INITIALIZED);
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/windows/
port.h 127 enum { PTHREAD_ONCE_INIT = 0 }; /* important that this be 0! for SpinLock */
186 * (from base/spinlock.{h,cc}). In that case, uncommenting this out,
187 * and removing spinlock.cc from the build, should be enough to revert
191 // Windows uses a spinlock internally for its mutexes, making our life easy!
192 // However, the Windows spinlock must always be initialized, making life hard,
195 // This replaces spinlock.{h,cc}, and all the stuff it depends on (atomicops)
197 class SpinLock {
199 SpinLock() : initialize_token_(PTHREAD_ONCE_INIT) {}
200 // Used for global SpinLock vars (see base/spinlock.h for more details)
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/windows/
port.h 124 enum { PTHREAD_ONCE_INIT = 0 }; /* important that this be 0! for SpinLock */
183 * (from base/spinlock.{h,cc}). In that case, uncommenting this out,
184 * and removing spinlock.cc from the build, should be enough to revert
188 // Windows uses a spinlock internally for its mutexes, making our life easy!
189 // However, the Windows spinlock must always be initialized, making life hard,
192 // This replaces spinlock.{h,cc}, and all the stuff it depends on (atomicops)
194 class SpinLock {
196 SpinLock() : initialize_token_(PTHREAD_ONCE_INIT) {}
197 // Used for global SpinLock vars (see base/spinlock.h for more details)
    [all...]
  /external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h 110 class SpinLock {
112 SpinLock() {
116 ~SpinLock() {
134 class SpinLock {
137 SpinLock() : mu_(OS_SPINLOCK_INIT) {
140 ~SpinLock() {
  /external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
heap-checker.h 360 class SpinLock* lock_; // to make HeapLeakChecker objects thread-safe
  /external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/
heap-checker.h 360 class SpinLock* lock_; // to make HeapLeakChecker objects thread-safe

Completed in 325 milliseconds

1 2 3