cameron314 / readerwriterqueue

A fast single-producer, single-consumer lock-free queue for C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does the ReaderWriterQueue provide notify api?

qh-huang opened this issue · comments

commented

If there any method to notify the reader when there's a new item written into the queue?

Thanks.

You could use the BlockingReaderWriterQueue which has allows blocking until an element is available.