Is there such a thing as a lockless queue for multiple read or write threads?

Posted by acidzombie24 on Stack Overflow See other posts from Stack Overflow or by acidzombie24
Published on 2010-06-11T06:28:57Z Indexed on 2010/06/11 6:32 UTC
Read the original article Hit count: 304

Filed under:
|
|

I was thinking, is it possible to have a lockless queue when more then one thread is reading or writing? I seen an implementation with a lockless queue that worked with one read and one write thread but never more then one for either. Is it possible? I don't think it is. Can/does anyone want to prove it?

© Stack Overflow or respective owner

Related posts about multithreading

Related posts about queue