# shared_memory
[](https://travis-ci.org/elast0ny/shared_memory-rs)
[](https://crates.io/crates/shared_memory)
[](https://docs.rs/shared_memory/)

A crate that allows you to share memory between __processes__.
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](https://github.com/elast0ny/raw_sync-rs) which provide simple primitves to synchronize access to the shared memory (Mutex, RwLock, Events, etc...).
| raw_sync |
## Usage
For usage examples, see code located in [examples/](examples/) :
|[event](examples/event.rs)| Shows the use of shared events through shared memory|
|[mutex](examples/event.rs)| Shows the use of a shared mutex through shared memory|
## License
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)
## 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.
## Changelog
### __0.11.0__
This release breaks backwards compatibility and removes a bunch of previous features which hid many unsafe behaviors (automatically casting shared memory to Rust types).
The release also marks the split between `shared_memory` and its synchronization primitives into a seperate crate `raw_sync`.