(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

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to