Add 'want_to_read' to GStaticRWLock to avoid calling g_cond_broadcast,

2001-08-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/gthread.h, glib/gthread.c: Add 'want_to_read' to
	GStaticRWLock to avoid calling g_cond_broadcast, when no one is
	waiting.
This commit is contained in:
Sebastian Wilhelmi
2001-08-30 14:19:20 +00:00
committed by Sebastian Wilhelmi
parent cf11b57917
commit bd2329ae66
10 changed files with 37 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
2001-08-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gthread.h, glib/gthread.c: Add 'want_to_read' to
GStaticRWLock to avoid calling g_cond_broadcast, when no one is
waiting.
* glib/gmain.c (g_main_context_add_poll_unlocked): Don't free
cached_poll_array, when adding new poll's. This is taken care for
in g_main_context_iterate.