Lines Matching refs:MutexLock
47 MutexLock lock(&mu1); // Correct Mutex. in Thread1()
52 MutexLock lock(&mu2); // Wrong Mutex. in Thread2()
335 MutexLock lock3(&mu3); // This lock is unrelated to PTR. in Writer1()
336 MutexLock lock1(&mu1); // Protect PTR. in Writer1()
341 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2()
342 MutexLock lock1(&mu1); // Protect PTR. in Writer2()
351 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader()
393 MutexLock lock3(&mu3); // This lock is unrelated to PTR. in GoodWriter1()
394 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter1()
399 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2()
400 MutexLock lock1(&mu1); // Protect PTR. in GoodWriter2()
405 MutexLock lock1(&mu1); // Protect PTR. in GoodReader()
410 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter()
517 MutexLock lock(&mu_); in Done()
522 MutexLock lock(&mu_); in ~A()