Module wait

Source
Expand description

Wait for processes to change state.

§Safety

This code needs to implement Send and Sync for WaitIdStatus because the linux-raw-sys bindings generate a type that doesn’t do so automatically.

Structs§

WaitIdOptions
Options for modifying the behavior of waitid.
WaitIdStatus
The status of a process after calling waitid.
WaitOptions
Options for modifying the behavior of wait/waitpid.
WaitStatus
The status of a child process after calling wait/waitpid.

Enums§

WaitId
The identifier to wait on in a call to waitid.

Functions§

wait
wait(waitopts)—Wait for any of the children of calling process to change state.
waitid
waitid(_, _, _, opts)—Wait for the specified child process to change state.
waitpgid
waitpid(-pgid, waitopts)—Wait for a process in a specific process group to change state.
waitpid
waitpid(pid, waitopts)—Wait for a specific process to change state.