Lines Matching refs:LockType
15 #ifndef LockType
16 #define LockType PthreadMutex
110 locks_ = new LockType*[n_];
112 locks_[i] = new LockType;
280 if (!LockType::supports_read_lock()) return;
299 if (!LockType::supports_recursive_lock()) return;
364 if (!LockType::supports_read_lock()) return;
387 if (!LockType::supports_read_lock()) return;
423 if (!LockType::supports_read_lock()) return;
495 LockType *l = new LockType[4];
499 for (int i = 0; i < 4; i++) l[i].~LockType();
500 for (int i = 0; i < 4; i++) new ((void*)&l[i]) LockType();
548 LockType *create_many_locks_but_never_acquire =
549 new LockType[kDeadlockGraphSize];
556 LockType some_locks[10];
562 LockType many_locks[kDeadlockGraphSize];
595 LockType **locks_;