2 releases
Uses old Rust 2015
0.1.1 | Nov 7, 2015 |
---|---|
0.1.0 | Nov 5, 2015 |
#18 in #wait-free
5KB
166 lines
WfBuf rust crate
This crate allow to create mmaped shared anonymous regions of memory, place WfBuf<T: Copy> into it using rust placement protocol and use it for data streaming between parent and forked child process. Works only on linux.
Implementation is naive and may be unsound. Stricly for one reader and one writer. There is no queueing, only last written value is read. Implementation try to ensure that at the moment of reading value, reader is accessing the latest written value. You can see how it may be used in tests module in lib.rs.
Dependencies
~395–620KB