mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-08 11:55:47 +01:00
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:
parent
11153df029
commit
24915b9a10
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -31,8 +31,9 @@ A type which can hold any UTF-16 character code.
|
||||
|
||||
</para>
|
||||
|
||||
@charset:
|
||||
@Returns:
|
||||
<!-- # Unused Parameters # -->
|
||||
@charset:
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_unichar_validate ##### -->
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user