Skip to main content

children_are_waitable

Function children_are_waitable 

Source
pub fn children_are_waitable() -> Result<bool>
Expand description

Whether the calling process’s exited children remain waitable.

Reads SIGCHLD without changing it: explicit SIG_IGN or SA_NOCLDWAIT means false. This is only a snapshot, not child ownership or a lock; callers must serialize policy changes and collection throughout checked operations.

§Errors

Returns an OS error querying sigaction; interrupted queries are retried.