| 263 | } |
| 264 | |
| 265 | static bool ready_child(Child *child, const char *root, const char *stem) { |
| 266 | if (!profile_paths(child, root, stem) || !expect_byte(child->ack[0], 'R')) |
| 267 | return false; |
| 268 | int initial = marker_present(child); |
| 269 | if (!note(child, "ready", initial, 0) || initial != 1) |
| 270 | return false; |
| 271 | return !child->obstruct || hold_obstruction(child); |
| 272 | } |
| 273 | |
| 274 | static bool finish_child(Child *child, int *status, bool *reaped) { |
| 275 | if (child->operation == SETUP_KILL) { |
no test coverage detected