summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp')
-rw-r--r--3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp b/3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp
index 9d3cb7d0c93..0886ac96f85 100644
--- a/3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp
+++ b/3rdparty/asio/include/asio/detail/timer_queue_ptime.hpp
@@ -2,7 +2,7 @@
// detail/timer_queue_ptime.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -77,6 +77,10 @@ public:
per_timer_data& timer, op_queue<operation>& ops,
std::size_t max_cancelled = (std::numeric_limits<std::size_t>::max)());
+ // Cancel and dequeue operations for the given timer and key.
+ ASIO_DECL void cancel_timer_by_key(per_timer_data* timer,
+ op_queue<operation>& ops, void* cancellation_key);
+
// Move operations from one timer to another, empty timer.
ASIO_DECL void move_timer(per_timer_data& target,
per_timer_data& source);