diff options
Diffstat (limited to '3rdparty/asio/include/asio/detail/null_event.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/detail/null_event.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/detail/null_event.hpp b/3rdparty/asio/include/asio/detail/null_event.hpp index 465a701123b..5bff3c46afe 100644 --- a/3rdparty/asio/include/asio/detail/null_event.hpp +++ b/3rdparty/asio/include/asio/detail/null_event.hpp @@ -2,7 +2,7 @@ // detail/null_event.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) @@ -55,6 +55,12 @@ public: { } + // Unlock the mutex and signal one waiter who may destroy us. + template <typename Lock> + void unlock_and_signal_one_for_destruction(Lock&) + { + } + // If there's a waiter, unlock the mutex and signal it. template <typename Lock> bool maybe_unlock_and_signal_one(Lock&) |