summaryrefslogtreecommitdiff
path: root/gthread/gthread-impl.c
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-08-31 18:00:03 -0400
committerRyan Lortie <desrt@desrt.ca>2011-09-09 12:47:40 -0400
commitcfa1d0540e4aaf83641f3876a2589a1e8f2b1242 (patch)
tree4ee4a1511122b0a8dbf56cd673c15f6e73101585 /gthread/gthread-impl.c
parent96e489680423f87428c74b1f6ec8a6b8a9c99645 (diff)
downloadglib-cfa1d0540e4aaf83641f3876a2589a1e8f2b1242.tar.gz
Move the GThread implementations to glib/
We can now get threads initialised from inside of libglib by calling g_thread_init_glib().
Diffstat (limited to 'gthread/gthread-impl.c')
-rw-r--r--gthread/gthread-impl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index bd7ba79a3..123faa00f 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -31,6 +31,10 @@
* MT safe
*/
+#include "glib.h"
+
+#include "gthreadprivate.h"
+
void
g_thread_init (GThreadFunctions *init)
{
@@ -44,8 +48,6 @@ g_thread_init (GThreadFunctions *init)
already_done = TRUE;
- g_thread_impl_init ();
- g_thread_functions_for_glib_use = g_thread_functions_for_glib_use_default;
g_thread_init_glib ();
}