* MT safe
*/
+#include "glib.h"
+
void
-g_thread_init (GThreadFunctions *init)
+g_thread_init (gpointer init)
{
- static gboolean already_done;
-
if (init != NULL)
g_warning ("GThread system no longer supports custom thread implementations.");
-
- if (already_done)
- return;
-
- already_done = TRUE;
-
- g_thread_impl_init ();
- g_thread_functions_for_glib_use = g_thread_functions_for_glib_use_default;
- g_thread_init_glib ();
}
void
-g_thread_init_with_errorcheck_mutexes (GThreadFunctions *vtable)
+g_thread_init_with_errorcheck_mutexes (gpointer vtable)
{
g_assert (vtable == NULL);
-
- g_thread_init (NULL);
}