⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module wait

Module wait 

Source
Expand description

Process Wait/Exit Infrastructure

Provides waitpid-style semantics for parent processes to wait on children. Implements a global wait queue with notification and zombie collection.

Structs§

WaitOptions
Options controlling waitpid behavior, modeled after POSIX flags.

Enums§

WaitStatus
Status returned by waitpid describing how a child changed state.

Functions§

collect_zombie
Clean up a zombie process after a successful wait.
notify_parent
Notify a parent process that a child has changed state.
sys_waitpid
Wait for a child process to change state.