Searched refs:MutexType (Results 1 – 8 of 8) sorted by relevance
24 template<typename MutexType>27 explicit TestData(MutexType *mtx) in TestData()62 typedef GenericScopedLock<MutexType> Lock;65 MutexType *mtx_;77 template<typename MutexType>79 TestData<MutexType> *data = (TestData<MutexType>*)param; in lock_thread()87 template<typename MutexType>89 TestData<MutexType> *data = (TestData<MutexType>*)param; in try_thread()97 template<typename MutexType>98 static void check_locked(MutexType *mtx) { in check_locked()[all …]
22 template<typename MutexType>25 explicit TestData(MutexType *mtx) in TestData()57 typedef GenericScopedLock<MutexType> Lock;60 MutexType *mtx_;73 template<typename MutexType>75 TestData<MutexType> *data = (TestData<MutexType>*)param; in write_mutex_thread()83 template<typename MutexType>85 TestData<MutexType> *data = (TestData<MutexType>*)param; in read_mutex_thread()
22 enum MutexType { enum44 explicit Mutex(MutexType type, StatType stat_type);58 MutexType type_;74 void Lock(MutexType t);75 void Unlock(MutexType t);
29 const MutexType MutexTypeLeaf = (MutexType)-1;30 static MutexType CanLockTab[MutexTypeCount][MutexTypeCount] = {60 MutexType z = CanLockTab[i][j]; in InitializeMutex()134 void InternalDeadlockDetector::Lock(MutexType t) { in Lock()161 void InternalDeadlockDetector::Unlock(MutexType t) { in Unlock()210 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex()
174 template<typename MutexType>177 explicit GenericScopedLock(MutexType *mu) in GenericScopedLock()187 MutexType *mu_;193 template<typename MutexType>196 explicit GenericScopedReadLock(MutexType *mu) in GenericScopedReadLock()206 MutexType *mu_;
19 typedef int MutexType; // to keep a lock-count typedef30 typedef pthread_rwlock_t MutexType;33 typedef pthread_mutex_t MutexType;45 typedef CRITICAL_SECTION MutexType;72 MutexType mutex_;
101 typedef int MutexType; // to keep a lock-count typedef121 typedef CRITICAL_SECTION MutexType; typedef131 typedef pthread_rwlock_t MutexType; typedef134 typedef pthread_mutex_t MutexType; typedef176 MutexType mutex_;
1408 enum MutexType { kStatic = 0, kDynamic = 1 };1440 MutexType type_;