blob: c2bf2f89431c18832b0fd7e635f85c48bdf3d267 (
plain) (
blame)
1
2
3
4
5
|
readerwriterqueue is a lock-free queue for C++.
It only supports a two-thread use case (one consuming, and one producing). The
threads can't switch roles, though you could use this queue completely from a
single thread if you wish.
|