glib r7364 - trunk/gthread



Author: matthiasc
Date: Sun Aug 17 01:36:16 2008
New Revision: 7364
URL: http://svn.gnome.org/viewvc/glib?rev=7364&view=rev

Log:
        Bug 460920 â build fix for --disable-threads

        * gthread-impl.c: Implement g_thread_init_with_errorcheck_mutexes
        in the !G_THREAD_ENABLED case. Pointed out by Jan Nieuwenhuizen



Modified:
   trunk/gthread/ChangeLog
   trunk/gthread/gthread-impl.c

Modified: trunk/gthread/gthread-impl.c
==============================================================================
--- trunk/gthread/gthread-impl.c	(original)
+++ trunk/gthread/gthread-impl.c	Sun Aug 17 01:36:16 2008
@@ -363,4 +363,10 @@
   g_error ("GLib thread support is disabled.");
 }
 
+void
+g_thread_init_with_errorcheck_mutexes (GThreadFunctions* init)
+{
+  g_error ("GLib thread support is disabled.");
+}
+
 #endif /* !G_THREADS_ENABLED */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]