Liste des Groupes | Revenir à cl c++ |
Am 19.04.2025 um 11:25 schrieb Chris M. Thomasson:Uggg... A broadcast is a special case. Well, when would you use a broadcast vs a single signal? Ugggg...
But there's one interesting fact to learn at last: broadcasting is more
efficient than unicasting.Ugggg... Only broadcast when you absolutely have to! Not willy nilly. Argh! Anyway...That's not true.
As you can see from my source I'm broadcasting when
there are more or equal elements than waiting threads. That's much
more efficient.
And I don't wanted to say that broadcasting should be preferred
mostly but I've measured with Windows and Linux that if broadcasting
is eligible in the mentioned way it's more efficient even when there's
only a single waiting threads.
You should have dropped your objection if you first read my source.
Les messages affichés proviennent d'usenet.