From fd92e48ee97a18f4d047e019c3c035036f708d26 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sat, 4 Jul 2020 19:21:48 +0200 Subject: [PATCH] ... --- callback_dispatcher.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/callback_dispatcher.cc b/callback_dispatcher.cc index 317247d..92d955a 100644 --- a/callback_dispatcher.cc +++ b/callback_dispatcher.cc @@ -30,7 +30,7 @@ namespace pEp { targets.push_back({messageToSend, notifyHandshake, on_startup, shutdown}); - // try_unlock possibly waiting messageToSend + // try_unlock() possibly waiting messageToSend sync_mtx.try_lock(); sync_mtx.unlock(); } @@ -101,7 +101,7 @@ namespace pEp { sync_mtx.lock(); notifyHandshake(nullptr, nullptr, SYNC_PASSPHRASE_REQUIRED); - // sync_mtx.wait() until mutex was unlocked by add() + // wait() until mutex was unlocked by add() sync_mtx.lock(); sync_mtx.unlock(); }