Re: struggling with the non-recursive gdk_threads_enter
- From: "Tor Lillqvist" <tml iki fi>
- To: "Yu Feng" <rainwoodman gmail com>
- 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 15:11:01 +0200
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]