Re: [gtkmm] Mutexes
- From: Paul Davis <paul linuxaudiosystems com>
- To: Leandro Fanzone <leandro hasar com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Mutexes
- Date: Thu, 12 Dec 2002 09:22:19 -0500
>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]