Re: [gtkmm] Mutexes



>The Glib::Mutex classes are to replace gdk_threads_enter/leave? I mean, 
>what mutex should I use to exclude a thread safely with the main GTK 
>message queue? 

AFAIK, you have no choice. gdk_threads_enter/leave is the only thing
you can use. the Glib::Mutex classes are for applications to use for
their own purposes. they do not replace the mutex system required to
have multiple threads call glib/gdk/gtk/X functions. there may be a
wrapper in the GDK namespace.

--p





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]