MCPcopy Create free account
hub / github.com/dborth/vbagx / InitGUIThreads

Function InitGUIThreads

source/menu.cpp:543–556  ·  view source on GitHub ↗

* InitGUIThread * * Startup GUI threads ***************************************************************************/

Source from the content-addressed store, hash-verified

541 * Startup GUI threads
542 ***************************************************************************/
543void
544InitGUIThreads()
545{
546 LWP_MutexInit(&guiMutex, false);
547 LWP_CondInit(&guiHaltCond);
548 LWP_CondInit(&guiWakeCond);
549
550 LWP_MutexInit(&progMutex, false);
551 LWP_CondInit(&progActiveCond);
552 LWP_CondInit(&progIdleCond);
553
554 LWP_CreateThread(&guithread, UpdateGUI, NULL, NULL, 24576, 70);
555 LWP_CreateThread(&progressthread, ProgressThread, NULL, NULL, 0, 40);
556}
557
558/****************************************************************************
559 * CancelAction

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected