MCPcopy Create free account
hub / github.com/catboost/catboost / BroadCast

Method BroadCast

library/cpp/coroutine/engine/events.h:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void BroadCast() noexcept {
98 while (!Waiters_.Empty()) {
99 Waiters_.PopFront()->Wake();
100 }
101 }
102
103 void BroadCast(size_t number) noexcept {
104 for (size_t i = 0; i < number && !Waiters_.Empty(); ++i) {

Callers 1

BroadCastMethod · 0.45

Calls 3

EmptyMethod · 0.45
WakeMethod · 0.45
PopFrontMethod · 0.45

Tested by

no test coverage detected