Well tested C/C++ lock free queue?

uj2 picture uj2 · Apr 27, 2010 · Viewed 7.9k times · Source

Possible Duplicate:
Is there a production ready lock-free queue or hash implementation in C++

I am looking for a well-tested, publicly available C/C++ implementation of a lock free queue.

I need at least multiple-producers/single-consumer functionality. Multiple-consumers is even better, if exists.

I'm targetting VC's _Interlocked... intrinsics, though anything which is straight forward to port would be fine.

Could anyone give any pointers?

Answer

Puppy picture Puppy · Apr 28, 2010

If you're ok to go down that route, there's always the Windows thread pool.