glib 1.2.2
- From: Brad <brad openbsd org>
- To: gtk-list redhat com
- Subject: glib 1.2.2
- Date: Thu, 22 Apr 1999 18:35:47 -0400 (EDT)
Seems theres a little coding mistake in glib 1.2.2. Comes up when not
using userland threads. Here is a patch to fix the problem.
// Brad
--- gmain.c.orig Fri Apr 9 16:54:56 1999
+++ gmain.c Thu Apr 22 16:55:01 1999
@@ -712,12 +712,14 @@
G_LOCK (main_loop);
+#ifdef G_THREADS_ENABLED
if (poll_waiting)
{
g_warning("g_main_iterate(): main loop already active in another thread");
G_UNLOCK (main_loop);
return FALSE;
}
+#endif
/* If recursing, finish up current dispatch, before starting over */
if (pending_dispatches)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]