Re: gtk2 and windows xp



(Re-added gtk-app-devel-list to Cc. Discussions that start on a list
should stay there.)

Yogesh M writes:
Gthread not supported in windows?

I did not say that. Gthread works fine. It's using GDK from multiple
threads that doesn't work.

then how does the thread is executed seperately while execution
continues the mainloop.

Yes, you can use multiple threads. You just must make sure all calls
to GDK (and by extension, GTK) happen only in the main thread. Call
g_timeout_add() from a worker thread to schedule a function to be
called in the main thread.

--tml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]