mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 11:55:47 +01:00
Call g_main_thread_init() after setting g_threads_got_initialized.
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com> * gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init() after setting g_threads_got_initialized. (#101624, Alceste Scalas, Sebastian Wilhelmi)
This commit is contained in:
parent
7e0095f1ca
commit
5ab7a70230
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Dec 20 09:37:27 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gthread/gthread-impl.c (g_thread_init): Call g_main_thread_init()
|
||||||
|
after setting g_threads_got_initialized. (#101624,
|
||||||
|
Alceste Scalas, Sebastian Wilhelmi)
|
||||||
|
|
||||||
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
Wed Dec 18 16:19:08 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
* glib/gtypes.h: new endian asm for ia64 and x86_64, general
|
||||||
|
@ -384,12 +384,16 @@ g_thread_init (GThreadFunctions* init)
|
|||||||
g_messages_init ();
|
g_messages_init ();
|
||||||
g_convert_init ();
|
g_convert_init ();
|
||||||
g_rand_init ();
|
g_rand_init ();
|
||||||
g_main_thread_init ();
|
|
||||||
|
|
||||||
/* now we can set g_threads_got_initialized and thus enable
|
/* now we can set g_threads_got_initialized and thus enable
|
||||||
* all the thread functions
|
* all the thread functions
|
||||||
*/
|
*/
|
||||||
g_threads_got_initialized = TRUE;
|
g_threads_got_initialized = TRUE;
|
||||||
|
|
||||||
|
/* This has to come after g_threads_got_initialized is set
|
||||||
|
* since it uses a private variable created by g_mem_init()
|
||||||
|
*/
|
||||||
|
g_main_thread_init ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* !G_THREADS_ENABLED */
|
#else /* !G_THREADS_ENABLED */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user