Lines Matching refs:mu0
934 absl::Mutex mu0; // protects value, done member
963 x->mu0.LockWhen(absl::Condition(&ConditionWithAcquire, x));
965 x->mu0.Unlock();
981 x.mu0.Lock();
982 x.cv.WaitWithTimeout(&x.mu0, absl::Milliseconds(500)); // wake T
986 x.mu0.Unlock();
1001 x.mu0.LockWhen(absl::Condition(&x.done));
1002 x.mu0.Unlock();
1083 absl::Mutex mu0; local
1085 bool got_mu0 = mu0.TryLock();
1088 mu0.Unlock();
1090 if (mu0.TryLock()) { // try lock shouldn't cause deadlock detector to fire
1091 mu0.Unlock();
1093 mu0.Lock(); // acquire mu0 while holding mu1; should get one deadlock
1095 mu0.Unlock();