--- El vie 3-oct-08, Douwe Vos <dmvos2000@xxxxxxxxx> escribió: > De:: Douwe Vos <dmvos2000@xxxxxxxxx> > Asunto: Re: Question about Threads y gtk+ > A: ammoises@xxxxxxxxxxxx, gtk-list@xxxxxxxxx > Fecha: viernes, 3 octubre, 2008, 7:52 am > In general most threads are in waiting mode during large > parts of their life time. If the main thread than wants to > end that thread it sets a flag and notifies the thread to > wake up. The thread than wakes up and should check this > flag. As I understand your question you would like to more > or less shoot the the thread, which I think is bad practice > and also I don't know how to do so with GTK. > > Regards, > Douwe > > > > ----- Original Message ---- > From: Moises <ammoises@xxxxxxxxxxxx> > To: gtk-list@xxxxxxxxx > Sent: Friday, October 3, 2008 1:56:17 AM > Subject: Question about Threads y gtk+ > > Question about Threads y gtk+ > > To end a thread, you have to leave the function of the > thread with an exit, return or calling g_thread_exit. > > My question is how can I finish the thread from my main > thread? > > I try to use g_object_unref, for finish the thread but get > me error. > > > > ¡Todo sobre Amor y Sexo! > La guía completa para tu vida en Mujer de Hoy. > > http://mx.mujer.yahoo.com/ > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list ¡Todo sobre Amor y Sexo! La guía completa para tu vida en Mujer de Hoy. http://mx.mujer.yahoo.com/ _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list