Commit bd60cc5
committed
shell: document potential signal race
Problem: If a trapped signal (SIGTERM, SIGINT, SIGALRM) is sent
before all shell tasks have been launched, unexpected shell exit
codes could happen. This is rare and the tradeoff is accepted,
but we do not document this anywhere.
Solution: Add some comments about this possibility in shell/signals.c.1 parent 19964cd commit bd60cc5
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
20 | 39 | | |
21 | 40 | | |
22 | 41 | | |
| |||
0 commit comments