Crate shared_memory

source ·
Expand description

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

For help on how to get started, take a look at the examples !

Structs

RAII structure used to release the read access of a lock when dropped.
RAII structure used to release the read access of a lock when dropped.
Default shared mapping structure
Configuration used to describe a shared memory mapping before openning/creation
Raw shared memory mapping
RAII structure used to release the write access of a lock when dropped.
RAII structure used to release the write access of a lock when dropped.

Enums

Possible states for an event
List of available signaling mechanisms on your platform.
List of available locking mechanisms on your platform.
Defines different variants to specify timeouts

Traits

Provides the ability to set an event to a state
Provides the ability to wait on an event
Provides rlock/rlock_as_slice functionnalities
Provides raw unsafe pointer access
Read WARNING before use
Provides wlock/wlock_as_slice functionnalities
Provides raw unsafe pointer access