Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Terminate
Method
Terminate
library/cpp/coroutine/engine/impl.cpp:90–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
}
89
90
void TCont::Terminate() {
91
while (!Waiters_.Empty()) {
92
Waiters_.PopFront()->Wake();
93
}
94
Executor()->Exit(this);
95
}
96
97
bool TCont::IAmRunning() const noexcept {
98
return this == Executor()->Running();
Callers
1
DoRun
Method · 0.45
Calls
4
Exit
Method · 0.80
Empty
Method · 0.45
Wake
Method · 0.45
PopFront
Method · 0.45
Tested by
no test coverage detected