• Max Kellermann's avatar
    notify: protect notify->pending with the mutex · 58554e14
    Max Kellermann authored
    There was a known deadlocking bug in the notify library: when the
    other thread set notify->pending after the according check in
    notify_wait(), the latter thread was deadlocked.  Resolve this by
    synchronizing all accesses to notify->pending with the notify object's
    mutex.  Since notify_signal_sync() was never used, we can remove it.
    As a consequence, we don't need notify_enter() and notify_leave()
    anymore; eliminate them, too.
    58554e14
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...