* InitGUIThread * * Startup GUI threads ***************************************************************************/
| 552 | * Startup GUI threads |
| 553 | ***************************************************************************/ |
| 554 | void |
| 555 | InitGUIThreads() |
| 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 |