MCPcopy Create free account
hub / github.com/crownengine/crown / yield

Function yield

3rdparty/bx/src/os.cpp:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 void yield()
68 {
69#if BX_PLATFORM_WINDOWS
70 ::SwitchToThread();
71#elif BX_PLATFORM_XBOXONE \
72 || BX_PLATFORM_WINRT \
73 || BX_CRT_NONE
74 BX_ASSERT(false, "Function '%s' is not implemented!", BX_FUNCTION);
75#else
76 ::sched_yield();
77#endif // BX_PLATFORM_
78 }
79
80 uint32_t getTid()
81 {

Callers 13

waitMethod · 0.85
GetSourceSampleOffsetFunction · 0.85
GetSourceSecOffsetFunction · 0.85
GetSourceOffsetFunction · 0.85
SetSourceivFunction · 0.85
StopEventThrdFunction · 0.85
auxeffectslot.cppFile · 0.85
processUpdatesMethod · 0.85
deinitMethod · 0.85
alc.cppFile · 0.85
getClockLatencyMethod · 0.85

Calls 1

sched_yieldFunction · 0.85

Tested by

no test coverage detected