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

Method Signal

library/cpp/neh/wfmo.h:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 void Signal() noexcept {
39 Signalled_ = true;
40
41 if (TIntrusivePtr<TWaitQueue> q = SwapWaitQueue(nullptr)) {
42 q->Notify(this);
43 }
44 }
45
46 void Register(TIntrusivePtr<TWaitQueue>& waitQueue) noexcept {
47 if (Signalled_) {

Callers

nothing calls this directly

Calls 1

NotifyMethod · 0.45

Tested by

no test coverage detected