Run _g_atomic_thread_init as the first of the full fledged initializers to
authorSebastian Wilhelmi <wilhelmi@google.com>
Tue, 23 May 2006 01:33:16 +0000 (01:33 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 23 May 2006 01:33:16 +0000 (01:33 +0000)
2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>

* 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)

ChangeLog
ChangeLog.pre-2-12
glib/gthread.c

index d8652f5..83e6db4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>
+
+       * 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  <mclasen@redhat.com>
 
        * tests/Makefile.am: 
index d8652f5..83e6db4 100644 (file)
@@ -1,3 +1,10 @@
+2006-05-22  Sebastian Wilhelmi  <wilhelmi@google.com>
+
+       * 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  <mclasen@redhat.com>
 
        * tests/Makefile.am: 
index e7a8be7..ddee4f7 100644 (file)
@@ -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 ();