mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
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:
committed by
Sebastian Wilhelmi
parent
9634d131ba
commit
9645c707c0
@@ -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 ();
|
||||
|
Reference in New Issue
Block a user