Broadcast the condition, if there are waiting readers, as all might read
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Mon, 29 Jan 2001 16:32:26 +0000 (16:32 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Mon, 29 Jan 2001 16:32:26 +0000 (16:32 +0000)
commitc96ad497679d0418a3818def1e3f81d997a1226c
tree94cdd1d2cdc998defa57adcd3791aa1e62608455
parentcd888afb5ac9d7633fd5fa090fbea58d26d68a15
Broadcast the condition, if there are waiting readers, as all might read

2001-01-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gthread.c: Broadcast the condition, if there are waiting
readers, as all might read at the same time. Only signal the
writer thread, if there are no more readers.

* gthread/gthread-impl.c (g_mutex_free_errorcheck_impl): Add
        new check to errorcheck mutexes to abort, if a locked mutex is freed.
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gthread.c
gthread.c
gthread/ChangeLog
gthread/gthread-impl.c