Lines Matching full:mutex
5 #include "src/base/platform/mutex.h"
12 TEST(Mutex, LockGuardMutex) {
13 Mutex mutex;
14 { LockGuard<Mutex> lock_guard(&mutex); }
15 { LockGuard<Mutex> lock_guard(&mutex); }
19 TEST(Mutex, LockGuardRecursiveMutex) {
29 TEST(Mutex, LockGuardLazyMutex) {
31 { LockGuard<Mutex> lock_guard(lazy_mutex.Pointer()); }
32 { LockGuard<Mutex> lock_guard(lazy_mutex.Pointer()); }
36 TEST(Mutex, LockGuardLazyRecursiveMutex) {
46 TEST(Mutex, MultipleMutexes) {
47 Mutex mutex1;
48 Mutex mutex2;
49 Mutex mutex3;
67 TEST(Mutex, MultipleRecursiveMutexes) {