#shared-memory #memory #shared #inter-process #process #shmem #synchronization

shared_memory_extended

A user friendly crate that allows you to share memory between processes

1 unstable release

0.13.0 Jun 21, 2023

#280 in Windows APIs

Download history 326/week @ 2024-06-10 91/week @ 2024-06-17 317/week @ 2024-06-24 314/week @ 2024-07-01 120/week @ 2024-07-08 610/week @ 2024-07-15 581/week @ 2024-07-22 186/week @ 2024-07-29 356/week @ 2024-08-05 648/week @ 2024-08-12 509/week @ 2024-08-19 1257/week @ 2024-08-26 271/week @ 2024-09-02 1169/week @ 2024-09-09 512/week @ 2024-09-16 789/week @ 2024-09-23

2,792 downloads per month
Used in 10 crates (2 directly)

MIT/Apache

35KB
703 lines

shared_memory_extended

Build Status crates.io mio Lines of Code

A crate that allows you to share memory between processes. Fork of elast0ny/shared_memory.

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
~356K SLoC