Re: Proposal: Enable threads by default

On Thu, 2009-11-26 at 14:35 +0100, Alexander Larsson wrote:

> Starting with next glib release: 
> * libgobject links to libgthread
> * g_type_init() starts with:
>  if ([!]g_thread_supported())
>    g_thread_init (NULL);
> #endif
> This means that everything above gobject can rely on thread primitives
> being availible, and that global stuff in glib (mainloop, gslice,
> globals, etc) are threadsafe.

Yes, please!


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