diff options
author | Ivan Korostelev <ivan.korostelev@gmail.com> | 2022-02-10 16:46:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:41 +0300 |
commit | f3a52f9d3e18d1159abbc85fa65eeda69d971657 (patch) | |
tree | 203885df8c9af6c414a9ec107514b91912970ab9 /util/thread/pool.cpp | |
parent | 99609724f661f7e21d1cb08e8d80e87c3632fdb3 (diff) | |
download | ydb-f3a52f9d3e18d1159abbc85fa65eeda69d971657.tar.gz |
Restoring authorship annotation for Ivan Korostelev <ivan.korostelev@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/thread/pool.cpp')
-rw-r--r-- | util/thread/pool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/thread/pool.cpp b/util/thread/pool.cpp index 05fad02e9b..911ed3a276 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) { |