#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

#262 in Windows APIs

Download history 768/week @ 2024-01-02 722/week @ 2024-01-09 374/week @ 2024-01-16 397/week @ 2024-01-23 192/week @ 2024-01-30 1147/week @ 2024-02-06 993/week @ 2024-02-13 458/week @ 2024-02-20 541/week @ 2024-02-27 470/week @ 2024-03-05 336/week @ 2024-03-12 1770/week @ 2024-03-19 755/week @ 2024-03-26 643/week @ 2024-04-02 475/week @ 2024-04-09 327/week @ 2024-04-16

2,440 downloads per month
Used in 8 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–28MB
~376K SLoC