Home | History | Annotate | Download | only in thread.timedmutex.recursive

Lines Matching refs:ms

27 typedef std::chrono::milliseconds ms;
33 assert(m.try_lock_until(Clock::now() + ms(300)) == true);
38 ns d = t1 - t0 - ms(250);
39 assert(d < ms(50)); // within 50ms
45 assert(m.try_lock_until(Clock::now() + ms(250)) == false);
47 ns d = t1 - t0 - ms(250);
48 assert(d < ms(50)); // within 50ms
56 std::this_thread::sleep_for(ms(250));
63 std::this_thread::sleep_for(ms(300));