Lines Matching refs:tryLock
1545 bool tryLock(LockType lockType = LockType.readWrite,
1617 assert(f.tryLock());
1619 assert(!g.tryLock());
1620 assert(!g.tryLock(LockType.read));
1623 assert(!g.tryLock());
1624 assert(g.tryLock(LockType.read));
1662 assert(g.tryLock());
1664 assert(g.tryLock(LockType.read));
1667 assert(f.tryLock());
1671 assert(!g.tryLock());
1672 assert(!g.tryLock(LockType.read));
1680 assert(!g.tryLock());
1681 assert(g.tryLock(LockType.read));