Crate shared_memory[−][src]
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
| ReadLockGuard |
RAII structure used to release the read access of a lock when dropped. |
| ReadLockGuardSlice |
RAII structure used to release the read access of a lock when dropped. |
| SharedMem |
Default shared mapping structure |
| SharedMemConf |
Configuration used to describe a shared memory mapping before openning/creation |
| SharedMemRaw |
Raw shared memory mapping |
| WriteLockGuard |
RAII structure used to release the write access of a lock when dropped. |
| WriteLockGuardSlice |
RAII structure used to release the write access of a lock when dropped. |
Enums
| EventState |
Possible states for an event |
| EventType |
List of available signaling mechanisms on your platform. |
| LockType |
List of available locking mechanisms on your platform. |
| Timeout |
Defines different variants to specify timeouts |
Traits
| EventSet |
Provides the ability to set an event to a state |
| EventWait |
Provides the ability to wait on an event |
| ReadLockable |
Provides rlock/rlock_as_slice functionnalities |
| ReadRaw |
Provides raw unsafe pointer access |
| SharedMemCast |
Read WARNING before use |
| WriteLockable |
Provides wlock/wlock_as_slice functionnalities |
| WriteRaw |
Provides raw unsafe pointer access |