#shared-memory #inter-process #process #memory #shared-memory-extended

shared_memory_extended

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

1 unstable release

0.13.0 Jun 21, 2023

#88 in Windows APIs

Download history 270/week @ 2024-12-25 1525/week @ 2025-01-01 1539/week @ 2025-01-08 1420/week @ 2025-01-15 312/week @ 2025-01-22 1358/week @ 2025-01-29 395/week @ 2025-02-05 258/week @ 2025-02-12 2043/week @ 2025-02-19 2312/week @ 2025-02-26 5083/week @ 2025-03-05 5750/week @ 2025-03-12 4839/week @ 2025-03-19 2316/week @ 2025-03-26 3552/week @ 2025-04-02 3606/week @ 2025-04-09

15,271 downloads per month
Used in 13 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–25MB
~317K SLoC