Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ ThreadYield
Function
ThreadYield
util/system/yield.cpp:18–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
void ThreadYield() noexcept {
19
#if defined(_freebsd_)
20
pthread_yield();
21
#else
22
SchedYield();
23
#endif
24
}
Callers
11
Wait
Method · 0.85
WaitLow
Method · 0.85
TestThreadedWithOverflow
Method · 0.85
LaunchBlockRequest
Method · 0.85
Launch
Method · 0.85
~TContextDistributor
Method · 0.85
WaitDistribution
Method · 0.85
WaitAllDistributionActivity
Method · 0.85
~TImpl
Method · 0.85
RunTest
Function · 0.85
Sleep
Method · 0.85
Calls
1
SchedYield
Function · 0.85
Tested by
1
TestThreadedWithOverflow
Method · 0.68