asio C++ library

PrevUpHomeNext

basic_waitable_timer::cancel_one

Cancels one asynchronous operation that is waiting on the timer.

std::size_t cancel_one();
  » more...

(Deprecated: Use non-error_code overload.) Cancels one asynchronous operation that is waiting on the timer.

std::size_t cancel_one(
    asio::error_code & ec);
  » more...

PrevUpHomeNext