diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-20 17:22:15 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-20 17:26:42 -0700 |
commit | 66a934d068fb6e0aab2043d56a8857d57b6b7596 (patch) | |
tree | 4a5f5da8710069ad653fcd7258f832e27017c9a1 /src/song.c | |
parent | 1952b762b0b7024c6a993e62ad957718ac669ac4 (diff) | |
download | mpd-66a934d068fb6e0aab2043d56a8857d57b6b7596.tar.gz mpd-66a934d068fb6e0aab2043d56a8857d57b6b7596.tar.xz mpd-66a934d068fb6e0aab2043d56a8857d57b6b7596.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 '')
0 files changed, 0 insertions, 0 deletions