Repository navigation
Commit e0fac59
* Start fix for interrupt pass leader reap race
Refs #2088.
Assisted-by: Claude Code:claude-fable-5-2
* Test an interrupt pass over an unreaped leader
A pass of the interrupt handler over a build's process group says
the group is gone when the group probe finds no member, whether or
not the build's own child has been reaped. The new test puts a pass
in that state with a child that leads no group, and fails.
Refs #2088.
Assisted-by: Claude Code:claude-fable-5-2
* Reap a build's leader before calling it gone
An interrupt pass called a build's process group gone as soon as
the group probe found no member. macOS stops counting an exiting
process in its group before its parent can wait for it, so a pass
could say so with the group's leader not yet waitable, and leave
the leader unreaped. The nightly macOS run failed on that in
an_interrupt_pass_ends_the_whole_build_group.
A pass now calls the group gone only once a wait for the leader
has answered: reaped by this pass, or already reaped by an earlier
pass or by the build's own thread.
Fixes #2088.
Assisted-by: Claude Code:claude-fable-5-2
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent bd5b8d5 commit e0fac59
1 file changed
Lines changed: 53 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
429 | 434 | | |
430 | 435 | | |
431 | 436 | | |
| |||
435 | 440 | | |
436 | 441 | | |
437 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
438 | 446 | | |
439 | | - | |
| 447 | + | |
440 | 448 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
445 | 452 | | |
446 | | - | |
| 453 | + | |
447 | 454 | | |
448 | 455 | | |
449 | 456 | | |
| |||
1229 | 1236 | | |
1230 | 1237 | | |
1231 | 1238 | | |
1232 | | - | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
1233 | 1277 | | |
1234 | 1278 | | |
1235 | 1279 | | |
| |||
0 commit comments