Possible Duplicate:
Is there a production ready lock-free queue or hash implementation in C++
I'm looking for implementations of lock-free containers:
How about blocking containers:
Are there any good libraries out there? I would like to refrain from writing these data structures... I would much rather use something that has been tested by the community.
Have a look at the container classes of Intel TBB. The reference says:
The container classes permit multiple threads to simultaneously invoke certain methods on the same container.
Herb Sutter did a few articles in his Effective Concurrency series in Dr. Dobbs Journal. The two articles you'll probably want to read right away are:
The rest of the series is definitely worth a read as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With