Fernando Apesteguía wrote:
[...]
Now, I'm using GThreads. I don't perform a pthread_cancel nor an equivalent
for GThreads, but the application appears to run well. Does gtk_main_quit()
kill the secondary thread properly or should I expect a crash of my
application?

Threads are allowed to run whether there is a GMainLoop, gtk_main() or
whatever else running in any other thread; if you are running gtk_main()
from a created thread; gtk_main_quit will not kill its own thread.

Cheers,
                 -Tristan
_______________________________________________
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