BC_Window* get_gui();
// Called by user to access the gui pointer
- void lock_window(const char *location);
- void unlock_window();
+ void lock_dialog(const char *location);
+ void unlock_dialog();
// Called by user to close the GUI from outside the thread
void close_window();
-
+ void join();
private:
BC_Window *gui;
Condition *startup_lock;
Mutex *window_lock;
+ Mutex *active_lock;
};
-
-
-
-
-
-
-
#endif