Lines Matching refs:tryLock
1255 bool tryLock(LockType lockType = LockType.readWrite,
1326 assert(f.tryLock());
1328 assert(!g.tryLock());
1329 assert(!g.tryLock(LockType.read));
1332 assert(!g.tryLock());
1333 assert(g.tryLock(LockType.read));
1370 assert(g.tryLock());
1372 assert(g.tryLock(LockType.read));
1375 assert(f.tryLock());
1379 assert(!g.tryLock());
1380 assert(!g.tryLock(LockType.read));
1388 assert(!g.tryLock());
1389 assert(g.tryLock(LockType.read));