diff options
author | Peter Bex <peter@more-magic.net> | 2017-11-18 13:19:28 +0100 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2017-11-18 13:19:28 +0100 |
commit | dac7e59c6ccd22d36ba4de9c9c6c171c143eb9cc (patch) | |
tree | 787d2f87122cbbf2ac4c1544bd0ccdc24ecdeb28 /scsh-process.setup | |
parent | bb04c5e4dedaa967e5a0b14efdea8c1514b6e223 (diff) | |
download | scsh-process-dac7e59c6ccd22d36ba4de9c9c6c171c143eb9cc.tar.gz |
Perform trial wait with "nohang" set to #t when blocking
We might have missed the one and only SIGCHLD event for the process
we're about to wait for, so attempt to reap it before entering the
condition variable wait loop.
Just in case, we always do this when we're woken up, so that we
can't accidentally miss the signal.
Diffstat (limited to 'scsh-process.setup')
0 files changed, 0 insertions, 0 deletions