Crates.io | rshm |
lib.rs | rshm |
version | 0.1.0 |
source | src |
created_at | 2022-10-13 13:21:15.722224 |
updated_at | 2022-10-13 13:21:15.722224 |
description | A library to use Linux's shm shared memory facilities in Rust |
homepage | |
repository | https://github.com/dbregeon/rshm |
max_upload_size | |
id | 687167 |
size | 49,817 |
A Linux Shared Memory crate in Rust.
The goal of this crate is to make it easier to use shm from rust in Linux. It provides basic functions to allocate or open a shared memory space. It also provides a condvar implementation based on shared linux futexes.
It would be nice to support linux' hugepages as well as standard shm.
It would be nice to refine the examples to make that functionality available in the library (e.g. gracefully wait for shared memory to be created by its owner, support expansion and overflow to file)
Please do raise issues and merge requests if you see a missing features or find a bug.