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

Function isMainThread

Engine/source/console/console.cpp:400–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400bool isMainThread()
401{
402#ifdef TORQUE_MULTITHREAD
403 return ThreadManager::isMainThread();
404#else
405 // If we're single threaded we're always in the main thread.
406 return true;
407#endif
408}
409
410//--------------------------------------
411

Callers 12

getReturnBufferMethod · 0.85
getArgBufferMethod · 0.85
executeFunction · 0.85
callMethod · 0.85
callMethod · 0.85
callMethod · 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