process_tools 0.32.0

Collection of algorithms and structures to handle processes properly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# Lifecycle Module

Process lifecycle management: signal mapping, process-alive detection, and Unix daemonization.

## File Responsibility Table

| File | Responsibility |
|------|---------------|
| `mod.rs` | Module aggregator registering signal, check, and daemon layers via `mod_interface!` |
| `signal.rs` | POSIX signal name/number bidirectional mapping (25 Linux signals) |
| `check.rs` | Process existence detection via `kill(pid, 0)` with ESRCH/EPERM handling |
| `daemon.rs` | Unix-only daemonization (double-fork, PID file utilities, 5 pitfall fixes) |