cameron314 / concurrentqueue

A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Other
9.53k stars 1.66k forks source link

fixed bug: no update head when fail to add #327

Closed Homqyy closed 1 year ago

Homqyy commented 1 year ago

Fixed bug. Associate to bug #292

cameron314 commented 1 year ago

This should have no effect, as compare_exchange_strong already updates head on failure.