15 releases

0.12.4 Mar 1, 2022
0.12.2 Nov 27, 2021
0.11.4 Dec 27, 2020
0.11.3 Sep 19, 2020
0.8.0 Jun 15, 2018

#54 in Unix APIs

Download history 9866/week @ 2024-07-20 10058/week @ 2024-07-27 12593/week @ 2024-08-03 9779/week @ 2024-08-10 12828/week @ 2024-08-17 15986/week @ 2024-08-24 16646/week @ 2024-08-31 15040/week @ 2024-09-07 15755/week @ 2024-09-14 15355/week @ 2024-09-21 15969/week @ 2024-09-28 17441/week @ 2024-10-05 18317/week @ 2024-10-12 20154/week @ 2024-10-19 18778/week @ 2024-10-26 16433/week @ 2024-11-02

76,920 downloads per month
Used in 36 crates (14 directly)

MIT/Apache

33KB
658 lines

shared_memory

Build Status crates.io mio Lines of Code

A crate that allows you to share memory between processes.

This crate provides lightweight wrappers around shared memory APIs in an OS agnostic way. It is intended to be used with it's sister crate raw_sync which provide simple primitves to synchronize access to the shared memory (Mutex, RwLock, Events, etc...).

raw_sync
crates.io docs.rs

Usage

For usage examples, see code located in examples/ :

Examples Description
event Shows the use of shared events through shared memory
mutex Shows the use of a shared mutex through shared memory

License

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–27MB
~357K SLoC