Commit bd06e11
committed
docs: explain why the post-force-kill reboot wait must stay unbounded
Bounding this wait and giving up on the stuck thread looks like the
obvious fix for #2553 (one stuck thread wedging every reboot forever),
and #2573 tried exactly that. It's unsafe: php_main() calls
tsrm_shutdown() on every reboot cycle, which requires every PHP thread
to have already exited. Giving up on a thread whose OS thread is still
alive violates that and crashes the process (confirmed by CI on #2573).
Leave a comment so the same fix isn't attempted again without this
context.1 parent 3f43199 commit bd06e11
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
179 | 197 | | |
180 | 198 | | |
181 | 199 | | |
| |||
0 commit comments