#shared-memory #shared #memory #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

#305 in Windows APIs

Download history 579/week @ 2024-07-23 123/week @ 2024-07-30 519/week @ 2024-08-06 690/week @ 2024-08-13 660/week @ 2024-08-20 892/week @ 2024-08-27 719/week @ 2024-09-03 731/week @ 2024-09-10 493/week @ 2024-09-17 819/week @ 2024-09-24 1026/week @ 2024-10-01 817/week @ 2024-10-08 307/week @ 2024-10-15 369/week @ 2024-10-22 701/week @ 2024-10-29 958/week @ 2024-11-05

2,405 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