Run _g_atomic_thread_init as the first of the full fledged initializers to

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)
This commit is contained in:
Sebastian Wilhelmi 2006-05-23 01:33:16 +00:00 committed by Sebastian Wilhelmi
parent 9634d131ba
commit 9645c707c0
3 changed files with 15 additions and 1 deletions

View 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:

View 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:

View 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 ();