fix to the locking so we don't hang

2001-10-31  Havoc Pennington  <hp@redhat.com>

	* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
	hang
This commit is contained in:
Havoc Pennington 2001-11-01 00:01:50 +00:00 committed by Havoc Pennington
parent 11153df029
commit 24915b9a10
10 changed files with 45 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -1,3 +1,8 @@
2001-10-31 Havoc Pennington <hp@redhat.com>
* glib/gmain.c (g_main_loop_run): fix to the locking so we don't
hang
2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Make --with-threads=none mean, that we want thread

View File

@ -31,8 +31,9 @@ A type which can hold any UTF-16 character code.
</para>
@charset:
@Returns:
<!-- # Unused Parameters # -->
@charset:
<!-- ##### FUNCTION g_unichar_validate ##### -->

View File

@ -2449,11 +2449,13 @@ g_main_loop_run (GMainLoop *loop)
while (loop->is_running)
g_main_context_iterate (loop->context, TRUE, TRUE, self);
UNLOCK_CONTEXT (loop->context);
#ifdef G_THREADS_ENABLED
g_main_context_release (loop->context);
#endif /* G_THREADS_ENABLED */
g_main_loop_unref_and_unlock (loop);
g_main_loop_unref (loop);
}
/**