Home | History | Annotate | Download | only in thread.lock.unique.cons

Lines Matching refs:ms

27 typedef std::chrono::milliseconds ms;
33 std::unique_lock<std::timed_mutex> lk(m, ms(300));
36 ns d = t1 - t0 - ms(250);
37 assert(d < ms(50)); // within 50ms
43 std::unique_lock<std::timed_mutex> lk(m, ms(250));
46 ns d = t1 - t0 - ms(250);
47 assert(d < ms(50)); // within 50ms
55 std::this_thread::sleep_for(ms(250));
62 std::this_thread::sleep_for(ms(300));