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

Function InitGUIThreads

source/menu.cpp:554–567  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

552 * Startup GUI threads
553 ***************************************************************************/
554void
555InitGUIThreads()
556{
557 LWP_MutexInit(&guiMutex, false);
558 LWP_CondInit(&guiHaltCond);
559 LWP_CondInit(&guiWakeCond);
560
561 LWP_MutexInit(&progMutex, false);
562 LWP_CondInit(&progActiveCond);
563 LWP_CondInit(&progIdleCond);
564
565 LWP_CreateThread(&guithread, UpdateGUI, NULL, NULL, 24576, 70);
566 LWP_CreateThread(&progressthread, ProgressThread, NULL, NULL, 0, 40);
567}
568
569/****************************************************************************
570 * CancelAction

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected