| Deutsch English Français Italiano |
|
<vu0cbn$1ko3j$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c++ Subject: Re: signalling a condvar from inside vs. signalling a condvar von outside Date: Sat, 19 Apr 2025 07:35:34 -0700 Organization: A noiseless patient Spider Lines: 18 Message-ID: <vu0cbn$1ko3j$2@dont-email.me> References: <vte0g6$pmgv$1@raubtier-asyl.eternal-september.org> <vtef76$16guv$1@dont-email.me> <vtgloc$36urv$1@raubtier-asyl.eternal-september.org> <vth3gt$3j0qm$1@dont-email.me> <vth5ig$3kqh7$1@raubtier-asyl.eternal-september.org> <vthb0p$3p9fh$1@dont-email.me> <vtl9ii$3dqu3$1@raubtier-asyl.eternal-september.org> <vtmapb$bjcc$1@dont-email.me> <vtnam3$1c6fn$1@raubtier-asyl.eternal-september.org> <vtpcnt$384n4$1@dont-email.me> <vtpu86$3qnsh$1@raubtier-asyl.eternal-september.org> <vtq3dt$3vg77$1@dont-email.me> <vtqo57$hi7r$1@raubtier-asyl.eternal-september.org> <vtrf3u$15mgp$1@dont-email.me> <vtsph1$2d55o$1@raubtier-asyl.eternal-september.org> <vtu9un$3mhje$1@dont-email.me> <vtub8i$3o27s$1@raubtier-asyl.eternal-september.org> <vtvq5i$149vk$1@dont-email.me> <vtvqd0$149h7$2@raubtier-asyl.eternal-september.org> <vtvsq4$172j8$1@dont-email.me> <vu03pb$1d82g$1@raubtier-asyl.eternal-september.org> <vu0c97$1ko3j$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 19 Apr 2025 16:35:35 +0200 (CEST) Injection-Info: dont-email.me; posting-host="aef3828e034e8f533cd77d3f4a64e9bf"; logging-data="1728627"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2uG1u638VH4G8vOKXTVaIsqvaUZiB8WQ=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:a57CulBjNukhrGtk41whKtyAkAs= Content-Language: en-US In-Reply-To: <vu0c97$1ko3j$1@dont-email.me> On 4/19/2025 7:34 AM, Chris M. Thomasson wrote: > On 4/19/2025 5:09 AM, Bonita Montero wrote: >> Am 19.04.2025 um 12:10 schrieb Chris M. Thomasson: >> >>> Uggg... A broadcast is a special case. Well, when would you use a >>> broadcast vs a single signal? Ugggg... >> >> If you have more items in the queue than there are waiting threads >> a broadcast is much more efficient. I suspect you have ADHD or a >> similar mental disorder that leads to hasty conclusions > > > Depends on the nature of the queue, and the nature of the wakes. A > broadcast should be only when you _really_ need it! why broadcast inside of a locked mutex? all of those threads are going to fight, and/or go into the morph wrt the kernel Yawn.