Re: Opening a GtkWindow from a Thread
- From: Tor Lillqvist <tml iki fi>
- To: gtk-app-devel-list gnome org
- Subject: Re: Opening a GtkWindow from a Thread
- Date: Wed, 2 Aug 2006 17:25:32 +0300
Philip Van Hoof writes:
Does this mean that gdk_threads_enter and _leave doesn't work on
Windows? Auwch ...
Well, they do "work" (in the sense that they lock and unlock the
gdk_threads_mutex), but that is not the problem. You should realize
that Win32 GDI is not a pure network protocol like X11 is, with no
thread-related (or process-related, even) information in the
protocol. The Windows graphics subsystem knows which thread created a
window, message ("event") queues are per-thread, etc.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]