diff options
| author | Bert Münnich <ber.t@posteo.de> | 2019-03-24 14:32:23 +0100 |
|---|---|---|
| committer | Bert Münnich <ber.t@posteo.de> | 2019-12-06 17:57:34 +0100 |
| commit | 459dd7b4bc6225e712b25359785558cb61283113 (patch) | |
| tree | ab4d353e635200069c48981dc0fa48299e4d81a1 /addon.c | |
| parent | 041360f4f34aad297b173e64e0a72956bd86415f (diff) | |
Report children as soon as possible when waiting for all
The following example demonstrates the problem:
; false & sleep 300 & wait
2317 # pid of false
2318 # pid of sleep
# blocking for 300s
2318: done (0)
2817: done (1)
With this commit the status for false is reported instantly:
; false & sleep 300 & wait
4205 # pid of false
4206 # pid of sleep
4205: done (1)
# blocking for 300s
4206: done (0)
Diffstat (limited to 'addon.c')
0 files changed, 0 insertions, 0 deletions