* InitGUIThread * * Startup GUI threads ***************************************************************************/
| 541 | * Startup GUI threads |
| 542 | ***************************************************************************/ |
| 543 | void |
| 544 | InitGUIThreads() |
| 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 |