MCPcopy Create free account
hub / github.com/ElementsProject/lightning / finish_child

Function finish_child

ccan/ccan/ptr_valid/ptr_valid.c:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160static void finish_child(struct ptr_valid_batch *batch)
161{
162 close(batch->to_child);
163 close(batch->from_child);
164 while (waitpid(batch->child_pid, NULL, 0) < 0 && errno == EINTR);
165 batch->child_pid = 0;
166}
167
168static bool child_alive(struct ptr_valid_batch *batch)
169{

Callers 2

check_with_childFunction · 0.85
ptr_valid_batch_endFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected