From 894933e1f1b0e435a5987876752a19b6d587e2a2 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 3 May 2018 01:06:01 +0200 Subject: [PATCH] fix typo in comment --- include/libtorrent/alert_manager.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/libtorrent/alert_manager.hpp b/include/libtorrent/alert_manager.hpp index 6c7ead1c0..beac278fd 100644 --- a/include/libtorrent/alert_manager.hpp +++ b/include/libtorrent/alert_manager.hpp @@ -165,9 +165,7 @@ namespace libtorrent { // this mutex protects everything. Since it's held while executing user // callbacks (the notify function and extension on_alert()) it must be - // recursive to post new alerts. This is implemented by storing the - // current thread-id in m_mutex_holder, if it matches ours, we don't need - // to lock + // recursive to support recursively post new alerts. mutable recursive_mutex m_mutex; condition_variable m_condition; boost::uint32_t m_alert_mask;