Skip to main content

group_has_child

Function group_has_child 

Source
fn group_has_child(pgid: Pid) -> bool
Expand description

Whether a child of this process belongs to the process group. The children the kernel lists come first, only without a member among them all processes get scanned: the lists are reliable for stopped children only. A listed child may have got reaped meanwhile, tokio does not take the REAP_LOCK, so its parent gets checked again.