#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

#329 in Windows APIs

Download history 1852/week @ 2024-11-14 787/week @ 2024-11-21 1046/week @ 2024-11-28 2056/week @ 2024-12-05 299/week @ 2024-12-12 255/week @ 2024-12-19 241/week @ 2024-12-26 1610/week @ 2025-01-02 1905/week @ 2025-01-09 1108/week @ 2025-01-16 259/week @ 2025-01-23 1316/week @ 2025-01-30 351/week @ 2025-02-06 470/week @ 2025-02-13 2015/week @ 2025-02-20 2756/week @ 2025-02-27

5,650 downloads per month
Used in 12 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–26MB
~321K SLoC