diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-23 20:48:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-23 20:48:44 +0200 |
commit | cce2f93de778d1a1a7d07657af7f142d5852dfee (patch) | |
tree | 4a51190840dd6b40a2a925bde3167fa53c65e880 /src/mp4ff/mp4util.c | |
parent | 0bec1d38078c88d07939a4c210b7cdeb9c8eb59c (diff) | |
download | mpd-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 '')
0 files changed, 0 insertions, 0 deletions