Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Yield
Method
Yield
library/cpp/coroutine/engine/impl.cpp:79–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
void TCont::Yield() noexcept {
80
if (SleepD(TInstant::Zero())) {
81
ReScheduleAndSwitch();
82
}
83
}
84
85
void TCont::ReScheduleAndSwitch() noexcept {
86
ReSchedule();
Callers
15
~TCtx
Method · 0.80
CoRun
Function · 0.80
operator()
Method · 0.80
CoMutex
Function · 0.80
CoCondVarTest
Function · 0.80
DoMain
Function · 0.80
DoSub
Function · 0.80
DoSubC
Function · 0.80
DoSubB
Function · 0.80
DoSubA
Function · 0.80
TestComputeCoroutineYield
Method · 0.80
TestUserEvent
Method · 0.80
Calls
1
Zero
Function · 0.85
Tested by
2
TestComputeCoroutineYield
Method · 0.64
TestUserEvent
Method · 0.64