MCPcopy Create free account
hub / github.com/boostorg/asio / run_until

Method run_until

include/boost/asio/impl/io_context.hpp:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92template <typename Clock, typename Duration>
93std::size_t io_context::run_until(
94 const chrono::time_point<Clock, Duration>& abs_time)
95{
96 std::size_t n = 0;
97 while (this->run_one_until(abs_time))
98 if (n != (std::numeric_limits<std::size_t>::max)())
99 ++n;
100 return n;
101}
102
103template <typename Rep, typename Period>
104std::size_t io_context::run_one_for(

Callers 1

run_forMethod · 0.95

Calls 1

run_one_untilMethod · 0.95

Tested by

no test coverage detected