[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Multithreaded applications and GTK+
- From: Iñaki García Etxebarria <garetxe euskalnet net>
- To: gtk-app-devel-list redhat com
- Subject: Multithreaded applications and GTK+
- Date: Fri, 29 Oct 1999 00:36:00 +0200
Hi,
I'm developing a multi-threaded application with GTK+. Each thread is
supposed to have a state, and they should show it in a clist, using
gtk_clist_set_text. In the FAQS I have read that the correct way is to
prepend gdk_threads_enter(); and append gdk_threads_leave(); to every
gdk-related statement, to lock and unlock the mutex of GDK, so
everything works. But this seems too hard and too messy. Isn't there any
smarter way of doing it? Or have I understood the docs badly?
Greets,
Iñaki
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]