aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine
diff options
context:
space:
mode:
authorfippo <fippo@yandex-team.ru>2022-02-10 16:50:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:08 +0300
commit3e57c324d47a3a202cb3c5a9648d2f92103d5213 (patch)
tree6913479b0d0b22ec99bbba7c96f2f930d9095600 /library/cpp/coroutine/engine
parentbebbbda5c5ff4ec70d301ac897eb8d6c8da7a9a4 (diff)
downloadydb-3e57c324d47a3a202cb3c5a9648d2f92103d5213.tar.gz
Restoring authorship annotation for <fippo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine')
-rw-r--r--library/cpp/coroutine/engine/events.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/coroutine/engine/events.h b/library/cpp/coroutine/engine/events.h
index 07cc4d25e8..b6d767c746 100644
--- a/library/cpp/coroutine/engine/events.h
+++ b/library/cpp/coroutine/engine/events.h
@@ -102,10 +102,10 @@ public:
void BroadCast(size_t number) noexcept {
for (size_t i = 0; i < number && !Waiters_.Empty(); ++i) {
- Waiters_.PopFront()->Wake();
- }
- }
-
+ Waiters_.PopFront()->Wake();
+ }
+ }
+
private:
TIntrusiveList<TWaiter> Waiters_;
};