Liste des Groupes | Revenir à cl c++ |
Am 12.09.2024 um 20:57 schrieb Chris M. Thomasson:I am talking about a condvar/mutex based queue vs a lock-free, or even "mostly" wait-free queue under heavy contention... Which one is going to be more efficient?
Huh? What about the contention that can cause slow paths to me hit that might get into a kernel wait on a sync object?If the queue never runs empty there's never a wait. And usually
there's no overlap since enqueuing and dequeuing are very short.
Les messages affichés proviennent d'usenet.