Lines Matching full:mutex
17 #include "mutex.h"
27 static void AssertDepth(Mutex& mu, uint32_t expected_depth) {
40 Mutex mu("test mutex");
48 // GCC has trouble with our mutex tests, so we have to turn off thread safety analysis.
50 Mutex mu("test mutex");
62 // GCC has trouble with our mutex tests, so we have to turn off thread safety analysis.
64 Mutex mu("test mutex", kDefaultMutexLevel, true);
80 // GCC has trouble with our mutex tests, so we have to turn off thread safety analysis.
82 Mutex mu("test mutex", kDefaultMutexLevel, true);
101 : mu("test mutex", kDefaultMutexLevel, true), cv("test condition variable", mu) {
104 Mutex mu;
116 // GCC has trouble with our mutex tests, so we have to turn off thread safety analysis.
133 // This ensures we don't hang when waiting on a recursively locked mutex,
160 // GCC has trouble with our mutex tests, so we have to turn off thread safety analysis.