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

Lines Matching defs:ms

32 typedef std::chrono::milliseconds ms;
38 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(300));
41 ns d = t1 - t0 - ms(250);
42 assert(d < ns(50000000)); // within 50ms
48 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(250));
51 ns d = t1 - t0 - ms(250);
52 assert(d < ms(50)); // within 50ms
65 std::this_thread::sleep_for(ms(250));
75 std::this_thread::sleep_for(ms(300));