Crate safe_fork

Source

Structs§

Child
Representation of a forked child process.

Functions§

ensure_single_threaded
Ensures the current process is single-threaded.
fork
Fork the current process.
fork_join
Fork the current process, and execute the provided closure within child process, and wait for it to complete.
fork_spawn
Fork the current process, and execute the provided closure within child process.
is_single_threaded
Check if the current process is single-threaded.