Re: GTK deadlock in gtk_main
- From: Tadej BorovÅak <tadeboro gmail com>
- To: Tomas Soltys <tomas soltys range-software com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GTK deadlock in gtk_main
- Date: Tue, 3 Aug 2010 23:07:49 +0200
Hi.
So what you suggest is to have gdk_threads_enter and gdk_threads_leave at
the beginning and at the end of the idle function?
Is this really intended?
Yes, this is how things should be done. But for your convenience, GDK
provides a function that will wrap your idle callback in lock/unlock:
gdk_threads_add_idle().
Tadej
--
Tadej BorovÅak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]