MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / sleep_for

Function sleep_for

extern/boost/boost/thread/win32/thread_data.hpp:243–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241#ifdef BOOST_THREAD_USES_CHRONO
242 template <class Rep, class Period>
243 void sleep_for(const chrono::duration<Rep, Period>& d)
244 {
245 interruptible_wait(detail::win32::invalid_handle_value, detail::internal_platform_clock::now() + detail::platform_duration(d));
246 }
247
248 template <class Duration>
249 void sleep_until(const chrono::time_point<chrono::steady_clock, Duration>& t)

Callers 3

sleep_untilFunction · 0.70
runMethod · 0.50
operator()Method · 0.50

Calls 1

platform_durationClass · 0.85

Tested by 1

runMethod · 0.40