summaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/actor/executor.cpp
diff options
context:
space:
mode:
authoragorodilov <[email protected]>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/messagebus/actor/executor.cpp
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/actor/executor.cpp')
-rw-r--r--library/cpp/messagebus/actor/executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/messagebus/actor/executor.cpp b/library/cpp/messagebus/actor/executor.cpp
index 08791def080..7a2227a4589 100644
--- a/library/cpp/messagebus/actor/executor.cpp
+++ b/library/cpp/messagebus/actor/executor.cpp
@@ -290,7 +290,7 @@ TAutoPtr<IWorkItem> TExecutor::DequeueWork() {
TWhatThreadDoesAcquireGuard<TMutex> g(WorkMutex, "executor: acquiring lock for DequeueWork");
while (!WorkItems.TryPop(&wi, &queueSize)) {
if (AtomicGet(ExitWorkers) != 0)
- return nullptr;
+ return nullptr;
TWhatThreadDoesPushPop pp("waiting for work on condvar");
WorkAvailable.Wait(WorkMutex);