summaryrefslogtreecommitdiff
path: root/scsh-process.setup
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2017-11-18 13:19:28 +0100
committerPeter Bex <peter@more-magic.net>2017-11-18 13:19:28 +0100
commitdac7e59c6ccd22d36ba4de9c9c6c171c143eb9cc (patch)
tree787d2f87122cbbf2ac4c1544bd0ccdc24ecdeb28 /scsh-process.setup
parentbb04c5e4dedaa967e5a0b14efdea8c1514b6e223 (diff)
downloadscsh-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