From f657d43811354bbff8d8d1cccb0ae2fa00cf9120 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Thu, 17 Feb 2000 11:29:17 +0000 Subject: [PATCH] reverted my last commit, g_thread_init() *does* have an implementation. Thu Feb 17 12:24:55 2000 Tim Janik * glib.h: reverted my last commit, g_thread_init() *does* have an implementation. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib.h | 6 ++++++ glib/glib.h | 6 ++++++ 10 files changed, 52 insertions(+) diff --git a/ChangeLog b/ChangeLog index ef86082ed..03cd6849e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ef86082ed..03cd6849e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Feb 17 12:24:55 2000 Tim Janik + + * glib.h: reverted my last commit, g_thread_init() *does* + have an implementation. + Thu Feb 17 04:25:02 2000 Tim Janik * glib.h: remove extraneous prototype for g_thread_init(). diff --git a/glib.h b/glib.h index ea121e2b8..41ee7813d 100644 --- a/glib.h +++ b/glib.h @@ -2684,6 +2684,12 @@ GUTILS_C_VAR GThreadFunctions g_thread_functions_for_glib_use; GUTILS_C_VAR gboolean g_thread_use_default_impl; GUTILS_C_VAR gboolean g_threads_got_initialized; +/* initializes the mutex/cond/private implementation for glib, might + * only be called once, and must not be called directly or indirectly + * from another glib-function, e.g. as a callback. + */ +void g_thread_init (GThreadFunctions *vtable); + /* internal function for fallback static mutex implementation */ GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); diff --git a/glib/glib.h b/glib/glib.h index ea121e2b8..41ee7813d 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -2684,6 +2684,12 @@ GUTILS_C_VAR GThreadFunctions g_thread_functions_for_glib_use; GUTILS_C_VAR gboolean g_thread_use_default_impl; GUTILS_C_VAR gboolean g_threads_got_initialized; +/* initializes the mutex/cond/private implementation for glib, might + * only be called once, and must not be called directly or indirectly + * from another glib-function, e.g. as a callback. + */ +void g_thread_init (GThreadFunctions *vtable); + /* internal function for fallback static mutex implementation */ GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);