aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_save.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-23 20:48:44 +0200
committerMax Kellermann <max@duempel.org>2008-09-23 20:48:44 +0200
commitcce2f93de778d1a1a7d07657af7f142d5852dfee (patch)
tree4a51190840dd6b40a2a925bde3167fa53c65e880 /src/song_save.c
parent0bec1d38078c88d07939a4c210b7cdeb9c8eb59c (diff)
downloadmpd-cce2f93de778d1a1a7d07657af7f142d5852dfee.tar.gz
mpd-cce2f93de778d1a1a7d07657af7f142d5852dfee.tar.xz
mpd-cce2f93de778d1a1a7d07657af7f142d5852dfee.zip
workaround race condition on updates with broken signal blocking
pthreads with our existing signal blocking/handling is broken, for now just sleep a bit in the child to prevent the CHLD handler from being called too early. Also, improve error reporting when handling SIGCHLD by storing the status to be called in the main task (which can be logged, since we can't do logging inside the sig handler).
Diffstat (limited to 'src/song_save.c')
0 files changed, 0 insertions, 0 deletions