Re: Proposal: Enable threads by default

On 12/01/2009 08:29 AM, Alexander Larsson wrote:
> In addition to enabling threads (if complied in) in g_type_init() it
> adds a G_THREADS_MANDATORY define that if set causes all the
> g_thread_supported() calls to be removed in the g_thread_* macros.

Should probably add that to Cflags in too?

Also, do we want to get rid of the possibility of compiling glib without
threads? Allowing threadless glib means we still need to have the
non-threaded versions of GIOScheduler, GResolver, etc, lying around, but
they'll never get used in normal builds.

-- Dan

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