MCPcopy Create free account
hub / github.com/BobbyAnguelov/Esoterica / IsMainThread

Function IsMainThread

Code/Base/Threading/Threading.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 //-------------------------------------------------------------------------
13
14 bool IsMainThread()
15 {
16 return g_mainThreadID == GetCurrentThreadID();
17 }
18
19 void Initialize( char const* pMainThreadName )
20 {

Callers 15

DestroyWorldMethod · 0.85
UpdateMethod · 0.85
LoadMethod · 0.85
BeginComponentEditMethod · 0.85
EndComponentEditMethod · 0.85
RenderWorldMethod · 0.85
RenderWorldMethod · 0.85
RenderViewportMethod · 0.85

Calls 1

GetCurrentThreadIDFunction · 0.85

Tested by

no test coverage detected