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

Method ReSchedule

library/cpp/coroutine/engine/impl.cpp:120–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void TCont::ReSchedule() noexcept {
121 if (Cancelled()) {
122 // Legacy code may expect a Cancelled coroutine to be scheduled without delay.
123 Executor()->ScheduleExecutionNow(this);
124 } else {
125 Executor()->ScheduleExecution(this);
126 }
127}
128
129
130TContExecutor::TContExecutor(

Callers 4

WakeMethod · 0.80
WakeMethod · 0.80
DoSubBFunction · 0.80
WakeMethod · 0.80

Calls 2

ScheduleExecutionNowMethod · 0.80
ScheduleExecutionMethod · 0.80

Tested by

no test coverage detected