From: Sebastian Wilhelmi Date: Tue, 23 May 2006 01:33:16 +0000 (+0000) Subject: Run _g_atomic_thread_init as the first of the full fledged initializers to X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=9645c707c050e7d43c75ec3634b2b66a4bbb41d0;p=dana%2Fcg-glib.git Run _g_atomic_thread_init as the first of the full fledged initializers to 2006-05-22 Sebastian Wilhelmi * glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init as the first of the full fledged initializers to allow the later to potentially use atomic ints (which they currently do not). (#342563, Peter Kjellerstedt) --- diff --git a/ChangeLog b/ChangeLog index d8652f5e..83e6db46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-22 Sebastian Wilhelmi + + * glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init + as the first of the full fledged initializers to allow the later + to potentially use atomic ints (which they currently do + not). (#342563, Peter Kjellerstedt) + 2006-05-16 Matthias Clasen * tests/Makefile.am: diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d8652f5e..83e6db46 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,10 @@ +2006-05-22 Sebastian Wilhelmi + + * glib/gthread.c (g_thread_init_glib): Run _g_atomic_thread_init + as the first of the full fledged initializers to allow the later + to potentially use atomic ints (which they currently do + not). (#342563, Peter Kjellerstedt) + 2006-05-16 Matthias Clasen * tests/Makefile.am: diff --git a/glib/gthread.c b/glib/gthread.c index e7a8be7f..ddee4f78 100644 --- a/glib/gthread.c +++ b/glib/gthread.c @@ -144,10 +144,10 @@ g_thread_init_glib (void) _g_messages_thread_init_nomessage (); /* we may run full-fledged initializers from here */ + _g_atomic_thread_init (); _g_convert_thread_init (); _g_rand_thread_init (); _g_main_thread_init (); - _g_atomic_thread_init (); _g_utils_thread_init (); #ifdef G_OS_WIN32 _g_win32_thread_init ();