aboutsummaryrefslogtreecommitdiffstats
path: root/util/thread/pool.cpp
diff options
context:
space:
mode:
authorIvan Korostelev <ivan.korostelev@gmail.com>2022-02-10 16:46:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:41 +0300
commitb5e813096385b2d9e16b572711fec5bf2eb5058d (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/thread/pool.cpp
parentf3a52f9d3e18d1159abbc85fa65eeda69d971657 (diff)
downloadydb-b5e813096385b2d9e16b572711fec5bf2eb5058d.tar.gz
Restoring authorship annotation for Ivan Korostelev <ivan.korostelev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'util/thread/pool.cpp')
-rw-r--r--util/thread/pool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/thread/pool.cpp b/util/thread/pool.cpp
index 911ed3a276..05fad02e9b 100644
--- a/util/thread/pool.cpp
+++ b/util/thread/pool.cpp
@@ -175,7 +175,7 @@ private:
inline void Stop() {
AtomicSet(ShouldTerminate, 1);
-
+
with_lock (QueueMutex) {
QueuePopCond.BroadCast();
}
@@ -224,7 +224,7 @@ private:
job = Queue.Pop();
}
-
+
QueuePopCond.Signal();
if (Catching) {