Re: Work woth GUI from a thread that was made by pthread_create function
- From: Tor Lillqvist <tml iki fi>
- To: Michael Torrie <torriem cs byu edu>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, gtk-app-devel-list gnome org, gnome-devel <gnome-devel-list gnome org>
- Subject: Re: Work woth GUI from a thread that was made by pthread_create function
- Date: Mon, 11 Feb 2002 19:36:08 +0200 (FLE Standard Time)
Michael Torrie writes:
> However, GTK+ is thread-aware if you follow the guidelines
> in the FAQ. One thread can only manipulate the GUI at a time (true on
> windows or gtk).
I guess you mean Windows or X11? But anyway, that's not true in
general. You will have lots of problems if you try to use the Win32
GDK backend from multiple threads, even if just from one thread at the
time. The Win32 backend hasn't been designed for multi-threaded use.
Only some very specific use from multiple threads might work.
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]