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

Module exit

Module exit 

Source
Expand description

Process exit, cleanup, signals, and wait

Handles process termination, resource cleanup, signal delivery, zombie reaping, and parent-child wait semantics. Also provides system-wide process statistics.

Modules§

signals
Standard signal numbers (POSIX)

Structs§

ProcessStats
Process statistics
WaitOptions
Wait options for wait_process_with_options

Enums§

SignalAction
Signal action types

Functions§

cleanup_process
Clean up process resources
cleanup_thread
Clean up a dead thread
default_signal_action
Get default action for a signal
exit_process
Exit current process
get_process_stats
Get system-wide process statistics
kill_process
Send a signal to a process (kill syscall)
reap_zombie_threads
Reap zombie threads in a process
wait_process
Wait for child process to exit
wait_process_with_options
Wait for child process with options