base_scheduler/process_wait_flags.rs
1// Released under the MIT License.
2// Copyright, 2026, by Samuel Williams.
3
4/// Selection of child state changes. The default waits for termination.
5#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
6pub struct ProcessWaitFlags {
7 /// Return immediately with `None` if a matching child has no reportable state change.
8 pub nohang: bool,
9 /// Also report stopped children. Unsupported on Windows.
10 pub untraced: bool,
11 /// Also report children resumed by `SIGCONT`. Unsupported on Windows.
12 pub continued: bool,
13}