Re: Question about Threads y gtk+
- From: Moises <ammoises yahoo com mx>
- To: gtk-list gnome org, Douwe Vos <dmvos2000 yahoo com>
- Subject: Re: Question about Threads y gtk+
- Date: Fri, 3 Oct 2008 10:34:12 -0700 (PDT)
--- El vie 3-oct-08, Douwe Vos <dmvos2000 yahoo com> escribió:
> De:: Douwe Vos <dmvos2000 yahoo com>
> Asunto: Re: Question about Threads y gtk+
> A: ammoises yahoo com mx, gtk-list gnome org
> 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 yahoo com mx>
> To: gtk-list gnome org
> 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 gnome org
> 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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]