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

Method Exit

library/cpp/coroutine/engine/impl.cpp:372–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void TContExecutor::Exit(TCont* cont) noexcept {
373 ScheduleToDelete(cont);
374 cont->SwitchTo(&SchedContext_);
375 Y_ABORT("can not return from exit");
376}
377
378TInstant TContExecutor::Now() {
379 return Y_LIKELY(Time_ == nullptr) ? TInstant::Now() : Time_->Now();

Callers 1

TerminateMethod · 0.80

Calls 1

SwitchToMethod · 0.45

Tested by

no test coverage detected