Re: Proposal: Enable threads by default



Alexander Larsson <alexl <at> redhat.com> writes:
> Starting with next glib release: 
> * libgobject links to libgthread
> * g_type_init() starts with:
> 
> #ifdef G_THREADS_ENABLED
>  if (g_thread_supported())
>    g_thread_init (NULL);
> #endif
> 
Finally.

I'm so sick of the issues (mostly performance-related) that crop up due to
threading/no threading/late threading in all the various applications, that I'm
really happy to see this happen. One less vector hard-to-trigger bugs can creep
into the code.

Benjamin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]