aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-21 22:53:39 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-21 22:53:39 +0300
commita5f2f1cbd679aaa6434f0da7dce2d1028ea03451 (patch)
treeb568b8889aead8fd12e04a732613c91b7891725e /library/cpp/coroutine/engine
parentbf42c5aeae0f02b264dd56bdb7f1a5b23e677297 (diff)
downloadydb-a5f2f1cbd679aaa6434f0da7dce2d1028ea03451.tar.gz
intermediate changes
ref:13079fed9f411a27e64e93afcdee28791690f38b
Diffstat (limited to 'library/cpp/coroutine/engine')
-rw-r--r--library/cpp/coroutine/engine/impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/coroutine/engine/impl.h b/library/cpp/coroutine/engine/impl.h
index 283a96ecf1..3795fdcec1 100644
--- a/library/cpp/coroutine/engine/impl.h
+++ b/library/cpp/coroutine/engine/impl.h
@@ -95,6 +95,9 @@ public:
return Scheduled_;
}
+ /// \param this корутина, которая будет ждать
+ /// \param c корутина, которую будем ждать
+ /// \param deadLine максимальное время ожидания
bool Join(TCont* c, TInstant deadLine = TInstant::Max()) noexcept;
void ReSchedule() noexcept;