MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / isMainThread

Function isMainThread

Engine/source/console/console.cpp:437–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437bool isMainThread()
438{
439#ifdef TORQUE_MULTITHREAD
440 return ThreadManager::isMainThread();
441#else
442 // If we're single threaded we're always in the main thread.
443 return true;
444#endif
445}
446
447//--------------------------------------
448

Callers 12

executeFunction · 0.85
callMethod · 0.85
callMethod · 0.85
callMethod · 0.85
getReturnBufferMethod · 0.85
getArgBufferMethod · 0.85
compileMethod · 0.85
compileExecMethod · 0.85
getProfilePathMethod · 0.85
hashPushMethod · 0.85
hashPopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected