message-dispatch

Crates.iomessage-dispatch
lib.rsmessage-dispatch
version0.1.3
sourcesrc
created_at2019-02-02 10:45:40.608915
updated_at2019-02-03 13:29:29.439427
descriptionmessage-dispatch
homepagehttps://github.com/lemonrock/message-dispatch
repositoryhttps://github.com/lemonrock/message-dispatch.git
max_upload_size
id112162
size58,482
Raphael Cohn (raphaelcohn)

documentation

README

message-dispatch

message-dispatch is a Rust crate that provides dynamic dispatch support for messages of different types and sizes sent from one thread to another (or back to the same thread) without the need to use trait objects.

Internally it uses a lock-free, multi-producer, single consumer Magic (or Virtual) Ring Buffer.

As such, the only cost involved in dispatch is the cost of an indirect call.

It could even be used to send messages across POSIX message queues if so desired.

Licensing

The license for this project is MIT.

Commit count: 83

cargo fmt