Re: struggling with the non-recursive gdk_threads_enter
- From: Yu Feng <rainwoodman gmail com>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: struggling with the non-recursive gdk_threads_enter
- Date: Wed, 31 Dec 2008 11:34:54 -0500
On Wed, 2008-12-31 at 15:11 +0200, Tor Lillqvist wrote:
> > The code need to be protected so that its execution is not interrupted
> > by GDK activities in other threads. How can I do this without a
> > recursive gdk critical section?
>
> Don't use GTK+ from multiple threads. Makes the code a lot cleaner.
>
> --tml
Thanks. My module doesn't use threads, but the program that loads this
module can be multithreaded.
I am wonderrng if ATK people also encounter this problem.
Yu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]