Crates.io | prefork |
lib.rs | prefork |
version | 0.5.1 |
source | src |
created_at | 2023-02-22 14:32:33.864557 |
updated_at | 2024-05-04 15:13:00.335352 |
description | A library for forking processes |
homepage | |
repository | https://code.alienscience.org/alienscience/prefork |
max_upload_size | |
id | 791866 |
size | 61,568 |
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).
Issues and PRs are welcome. It is possible to login with a Github user id.
This repository is mirrored on codeberg.