HyeonuPark / ringbuf

Thread-safe bounded channel based on ring buffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RingBuf

Build Status codecov

Thread safe bounded channels based on ring buffer.

This crate provides channels that can be used to communicate between asynchronous tasks.

Channels are based on fixed-sized ring buffer. Send operations simply fail if backing buffer is full, and you can get back message with error.

License

This repository is dual-licensed under the MIT license and Apache license 2.0 at your option. By contributing to RingBuf you agree that your contributions will be licensed under these two licenses.

About

Thread-safe bounded channel based on ring buffer

License:Apache License 2.0


Languages

Language:Rust 100.0%