diff options
author | elantsev <elantsev@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
commit | afa1b6e6f8b6ee9f8df080d41bcb19b95c25c261 (patch) | |
tree | 0be08f6ef31456c320cbd3f575673be79c911588 /library/cpp/coroutine/engine/impl.h | |
parent | 93452ad7de84fbd34e7ba9a906bf10ce1536d722 (diff) | |
download | ydb-afa1b6e6f8b6ee9f8df080d41bcb19b95c25c261.tar.gz |
Restoring authorship annotation for <elantsev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/impl.h')
-rw-r--r-- | library/cpp/coroutine/engine/impl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/coroutine/engine/impl.h b/library/cpp/coroutine/engine/impl.h index 283a96ecf1..715454d695 100644 --- a/library/cpp/coroutine/engine/impl.h +++ b/library/cpp/coroutine/engine/impl.h @@ -92,9 +92,9 @@ public: } bool Scheduled() const noexcept { - return Scheduled_; - } - + return Scheduled_; + } + bool Join(TCont* c, TInstant deadLine = TInstant::Max()) noexcept; void ReSchedule() noexcept; @@ -116,7 +116,7 @@ private: NCoro::TTrampoline Trampoline_; - TIntrusiveList<TJoinWait> Waiters_; + TIntrusiveList<TJoinWait> Waiters_; bool Cancelled_ = false; bool Scheduled_ = false; }; |