RES: mutex doubt

2011-12-08 Thread Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
: tristan.van.ber...@gmail.com [mailto:tristan.van.ber...@gmail.com] Em nome de Tristan Van Berkom Enviada em: quinta-feira, 8 de dezembro de 2011 03:36 Para: Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP - Cc: Emmanuele Bassi; gtk-app-devel-list@gnome.org Assunto: Re: mutex doubt 2011/12/8

RES: mutex doubt

2011-12-07 Thread Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
Hello, -Mensagem original- De: tristan.van.ber...@gmail.com [mailto:tristan.van.ber...@gmail.com] Em nome de Tristan Van Berkom Assunto: Re: mutex doubt Out of curiosity, what is glib startup ? Do you mean as a part of g_type_init() ? Yes, exactly Or, can glib programs

RES: mutex doubt

2011-12-07 Thread Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote: Or, can glib programs which don't make use of GObject use threads at all ? sure. Out of curiosity, do you recommend me to use GObject to any glib program? Or only for those I need to integrate with other languages? Thanks for

RES: mutex doubt

2011-12-07 Thread Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
2011 14:36 Para: Tristan Van Berkom; jcup...@gmail.com Cc: gtk-app-devel-list@gnome.org Assunto: RES: mutex doubt Hello, -Mensagem original- De: tristan.van.ber...@gmail.com [mailto:tristan.van.ber...@gmail.com] Em nome de Tristan Van Berkom Assunto: Re: mutex doubt Out of curiosity

Re: mutex doubt

2011-12-07 Thread Tristan Van Berkom
2011/12/8 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP - marcelo.va...@claro.com.br: On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote: Or, can glib programs which don't make use of GObject use threads at all ? sure. Out of curiosity, do you recommend me to use

mutex doubt

2011-12-06 Thread Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
Hello, Do I need to call g_thread_init() manually before calling g_mutex_new (), in a glib only application? Or is it auto called by default when I call g_type_init() and therefore I don't need to do it? Regards, Valle. Esta mensagem, incluindo seus eventuais anexos, pode conter

Re: mutex doubt

2011-12-06 Thread Emmanuele Bassi
hi; On 6 December 2011 18:14, Tristan Van Berkom t...@gnome.org wrote: Or, can glib programs which don't make use of GObject use threads at all ? sure. Must _those_ programs still call g_thread_init() before using threads ? before GLib 2.31, yes; after, no. It seems that the pthread