2011/12/8 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
:
>>On 6 December 2011 18:14, Tristan Van Berkom 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? O
hi;
On 6 December 2011 18:14, Tristan Van Berkom 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 library itself
On Wed, Dec 7, 2011 at 2:30 AM, wrote:
> 2011/12/6 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
> :
>> 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 t
2011/12/6 Marcelo Elias Del Valle - SYSMAP SOLUTIONS - Claro MA-SP -
:
> 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?
Older versions