Liste des Groupes | Revenir à cl c++ |
Am 19.04.2025 um 16:34 schrieb Chris M. Thomasson:Yawn.
Depends on the nature of the queue, and the nature of the wakes.You've got a problem with hasty conclusions.
A broadcast should be only when you _really_ need it!
If you awake all awaking threads at once this is more efficient
than awaking them individually. Any even if you have a single
waiting thrad a notify_all() is more efficient with Linux and
Windows.
Les messages affichés proviennent d'usenet.