Re: bugs regarding late g_thread_init() calls
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-devel-list gnome org
- Subject: Re: bugs regarding late g_thread_init() calls
- Date: Thu, 04 Jan 2007 19:56:02 +0100
On Thu, 2007-01-04 at 09:25 -0500, Morten Welinder wrote:
> Note:
>
> if (!g_thread_supported ())
> g_thread_init (NULL);
>
> bzzzzz! g_thread_supported called too early.
g_thread_supported is actually a macro. It's another name for
g_threads_got_initialized basically. So the idiom above should be safe,
right?
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]