You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The multi-producer-single-consumer ring buffer is not lock-free (so not wait-free) #20
Consumer and producers rely on a flag(status) indicating whether data is ready. If a producer is suspended at #1, then the consumer is blocked at #2, waiting the producer to finish writing. No further data from other producers can be consumed. When the ring buffer become full, all other producers are blocked by the consumer which is blocked by the suspended producer. No thread can make progress until the suspended producer finish writing.
Activity