views:

554

answers:

1

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?

A: 

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

DeadMG