wfbuf

Crates.iowfbuf
lib.rswfbuf
version0.1.1
sourcesrc
created_at2015-11-05 22:16:50.296784
updated_at2016-06-16 08:29:01.260324
descriptionNaive wait free buffer for fast interprocess data streaming on linux.
homepage
repositoryhttps://bitbucket.org/almikhayl/wfbuf
max_upload_size
id3370
size4,978
FDO-rs maintainers (github:fedora-iot:fdo-rs-maintainers)

documentation

README

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.

Commit count: 0

cargo fmt