MCPcopy Create free account
hub / github.com/defold/defold / EngineMainThread

Function EngineMainThread

engine/engine/src/engine_main.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68};
69
70static void EngineMainThread(void* ctx)
71{
72 dmThread::SetThreadName(dmThread::GetCurrentThread(), "engine_main");
73 EngineMainThreadArgs* args = (EngineMainThreadArgs*)ctx;
74 args->m_ExitCode = EngineMain(args->m_Argc, args->m_Argv);
75 args->m_Finished = 1;
76}
77
78static int WaitForWindow()
79{

Callers

nothing calls this directly

Calls 3

EngineMainFunction · 0.85
SetThreadNameFunction · 0.50
GetCurrentThreadFunction · 0.50

Tested by

no test coverage detected