From eddb75c0c443d06b416a1500ea7dc0588888de92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=B6glinger-Stelzer?= Date: Mon, 22 Apr 2019 19:14:26 +0200 Subject: [PATCH] Added comments --- src/NotificationRequestPool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NotificationRequestPool.cpp b/src/NotificationRequestPool.cpp index 7ea1fcc..4624fb4 100644 --- a/src/NotificationRequestPool.cpp +++ b/src/NotificationRequestPool.cpp @@ -67,8 +67,8 @@ void NotificationRequestPool::operator()() const auto ret = WaitForMultipleObjects( requests_.size(), wait_handles_, - FALSE, - 25 + FALSE, // first one to be signaled wins + 25 // don't block indefinitely so worker can be canceled ); // timeout has occurred...