rshmem
This crate provides a wrapper around win32 shared memory APIs. It provides an easy way to allocate, link allocations and deallocate buffers.
Usage
let memory = new.unwrap;
// allocate first buffer
let buffer1 = memory.allocate.unwrap;
// allocate second buffer
let buffer2 = memory.allocate.unwrap;
// allocate a buffer and link it to the second
let child = memory.allocate_more.unwrap;
// deallocate the first buffer
memory.deallocate;
// deallocate the second buffer, it will deallocate all child buffers
memory.deallocate;
License
Contribution
Feel free to create pull requests