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§
- Process
Stats - Process statistics
- Wait
Options - Wait options for wait_process_with_options
Enums§
- Signal
Action - 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