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 7331/week @ 2023-12-13 5585/week @ 2023-12-20 6644/week @ 2023-12-27 7310/week @ 2024-01-03 7977/week @ 2024-01-10 8598/week @ 2024-01-17 10683/week @ 2024-01-24 12686/week @ 2024-01-31 14674/week @ 2024-02-07 10911/week @ 2024-02-14 9343/week @ 2024-02-21 11774/week @ 2024-02-28 10782/week @ 2024-03-06 12117/week @ 2024-03-13 13086/week @ 2024-03-20 9548/week @ 2024-03-27

48,030 downloads per month
Used in 30 crates (13 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–30MB
~386K SLoC