[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Xlib: unexpected async reply (sequence #####)!
- From: Chris Vine <chris cvine freeserve co uk>
- To: Gregory Hosler <ghosler redhat com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Xlib: unexpected async reply (sequence #####)!
- Date: Sat, 04 Aug 2007 22:50:06 +0100
On Sat, 2007-08-04 at 22:07 +0800, Gregory Hosler wrote:
> That threads_enter/threads_leave doesn't look so bad, since I'm not doing alot
> of gtk withing my thread. Looks like it might be the way to go for me.
You may be missing the point. If you access GTK+ from more than one
thread, then all operations with GTK+ need to protected with the GDK
lock, in any thread, including in the main GUI thread. That is why
using g_idle_add() is often a better approach.
Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]