jeehoonkang / concurrent-circbuf

Concurrent channels based on circular buffer
Apache License 2.0
4 stars 1 forks source link

Implement mpsc/mpmc channels #1

Open jeehoonkang opened 5 years ago

jeehoonkang commented 5 years ago

cf. https://github.com/crossbeam-rs/crossbeam/pull/189

jeehoonkang commented 5 years ago

Note that this implementation is blocking: if a consumer doesn't increment the lap id after receiving a value, producers cannot send values.