示例#1
0
 // Helper function to get a timer's expiry time.
 static asio::deadline_timer::time_type expiry(
     const asio::deadline_timer& timer)
 {
   return timer.expires_at();
 }
示例#2
0
timer() : t(io_context) { t.expires_at(boost::posix_time::pos_infin); }