Re: Proposal: Enable threads by default
- From: Benjamin Otte <otte gnome org>
- To: gtk-devel-list gnome org
- Subject: Re: Proposal: Enable threads by default
- Date: Thu, 26 Nov 2009 14:59:00 +0000 (UTC)
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]