prefork

Crates.ioprefork
lib.rsprefork
version0.5.1
sourcesrc
created_at2023-02-22 14:32:33.864557
updated_at2024-05-04 15:13:00.335352
descriptionA library for forking processes
homepage
repositoryhttps://code.alienscience.org/alienscience/prefork
max_upload_size
id791866
size61,568
Alien Science (alienscience)

documentation

README

Docs

Prefork

Fork a process in Rust to create multiple child processes.

This repository contains a Rust crate. See the example code which opens a socket and then forks multiple processes that accept connections on that socket. This is an old fashioned way of multiprocessing, but it is sometimes useful when dealing with systems that run poorly when multi-threaded (e.g. when embedding a Python interpreter).

Contributing

Issues and PRs are welcome. It is possible to login with a Github user id.

This repository is mirrored on codeberg.

Commit count: 0

cargo fmt