aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/condvar.h
diff options
context:
space:
mode:
authoragalakhov <agalakhov@yandex-team.ru>2022-02-10 16:49:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:51 +0300
commit61a83e458f803c69f5d9d74e5d716cb95b3f2225 (patch)
treec63ac6b8d61f5c83d025f4b0863f3a2235c6fa39 /library/cpp/coroutine/engine/condvar.h
parent9622b1b611a91d945eb942671e7ad62d44878b66 (diff)
downloadydb-61a83e458f803c69f5d9d74e5d716cb95b3f2225.tar.gz
Restoring authorship annotation for <agalakhov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/condvar.h')
-rw-r--r--library/cpp/coroutine/engine/condvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/coroutine/engine/condvar.h b/library/cpp/coroutine/engine/condvar.h
index ffceede6fa..7629392399 100644
--- a/library/cpp/coroutine/engine/condvar.h
+++ b/library/cpp/coroutine/engine/condvar.h
@@ -11,9 +11,9 @@ public:
const int ret = WaitQueue_.WaitD(current, deadline);
if (ret != EWAKEDUP) {
- return ret;
- }
-
+ return ret;
+ }
+
return mutex->LockD(current, deadline);
}