Re: Work woth GUI from a thread that was made by pthread_create function



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]