Deutsch   English   Français   Italiano  
<vugpmh$nndj$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!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: Solving thundering Herd with glibc...
Date: Fri, 25 Apr 2025 13:01:21 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <vugpmh$nndj$1@dont-email.me>
References: <vue7i0$2btp7$1@dont-email.me>
 <vue9bf$2dodm$2@raubtier-asyl.eternal-september.org>
 <vueanl$2erl6$1@dont-email.me>
 <vufhi7$3jcg6$1@raubtier-asyl.eternal-september.org>
 <vufrhn$3s5jj$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 25 Apr 2025 22:01:26 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9aa8908e56bde657771447d44b7aa57d";
	logging-data="777651"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/YKGi2vH/yDSDsPG8vfpTGr2CSj3KchnA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:m3JCEtxz7mBAAGoZhOFKG1dyxdA=
Content-Language: en-US
In-Reply-To: <vufrhn$3s5jj$1@raubtier-asyl.eternal-september.org>
Bytes: 1771

On 4/25/2025 4:27 AM, Bonita Montero wrote:
> Am 25.04.2025 um 10:37 schrieb Bonita Montero:
> 
>> Yes, controlled test with 10'000 iterations.
>> The code is correct and trivial, but too much for you.
> 
> A thundering herd problem with a condvar should occur if I notify > 1
> threads and unlock the mutex, but it actually dosn't happen; never.
> So the glibc condvar is optimal.
> 

If you say so... Too busy right now. Perhaps sometime later on tonight.