sunrise-choir / async-ringbuffer

A nonblocking spsc ring buffer with fixed capacity.
GNU Lesser General Public License v3.0
8 stars 2 forks source link

Thread-safe variant #2

Open piegamesde opened 3 years ago

piegamesde commented 3 years ago

It'd be cool if there was a variant of this ring buffer that allowed reader and writer sides to be on different threads.

vladimir-ea commented 2 years ago

I agree, being able to read and write from 2 different async tasks would improve the usability of this crate.