diff options
| author | fippo <[email protected]> | 2022-02-10 16:50:08 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:08 +0300 |
| commit | 7bf72dabd2102d9781c1ec7a754579757baa7b90 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine/engine | |
| parent | 3e57c324d47a3a202cb3c5a9648d2f92103d5213 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine')
| -rw-r--r-- | library/cpp/coroutine/engine/events.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/coroutine/engine/events.h b/library/cpp/coroutine/engine/events.h index b6d767c7467..07cc4d25e87 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_; }; |
