Fernando ApesteguĂa wrote:
And how to kill the gthread if there is not something like pthread_cancel?
(Thanks for your patience)
Tell the thread it has to exit
o through a variable & mutex/condition
o through any form of ipc (maybe simply a pipe())
call g_thread_join() from the main thread.
Now I'm not %100 sure about the next bit... but I think
you can simply use the thread pid and send it a term or kill
signal (for cases dealing with blocking IO for example).
Cheers,
-Tristan
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list