Re: Opening a GtkWindow from a Thread



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]