summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKeith Owens <k10@ocs.com.au>2011-09-16 17:55:28 +0200
committerStef Walter <stefw@collabora.co.uk>2011-09-16 17:55:28 +0200
commit52747cc1752b8a8e35aee47db2f55d3a3c365ce3 (patch)
treeb5085f6338d3bbb57c7f2f58388765b2dc28ccde /doc
parent1994fa733c1c09202d85db952a28da26a19f0669 (diff)
workaround for race between waitpid(-1) and waitpid(pid)
Sometimes waitpid(-1) in cb_check_data reaps a child that has just terminated, before waitpid(pid) in wait_process can reap it. Linux waitpid(pid,,WNOHANG) may not return an error if the child has already terminated, which results in wait_process looping waiting for the child which has already terminated. The symptom is a spurious "timeout waiting for filter command to exit".
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions