🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #2157

Re: Why ordered mutexed don't work ...

#2157
From: Chris M. Thomasson
Date: Thu, 03 Dec 2026 22:00
18 lines
2073 bytes
On 12/3/2026 8:48 AM, Ross Finlayson wrote:
[...]
>>> I just learned about fast user-space mutex, yet only want the best
>>> for my threads, best anti-starvation being fair and a strong semaphore.
[...]

Since you just learned about them means you are just learning about 
something that has been out there for ages. Fwiw, here is a fun fast 
pathed semaphore:

https://vorbrodt.blog/2019/02/05/fast-semaphore/

Basically a benaphore, read all:

https://www.haiku-os.org/legacy-docs/benewsletter/Issue1-26.html

You are just starting to learn about these types of algos, so learn on!
Technical Details
Message-ID: <11esoq5$sv34$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11ep150$2vi4k$1@raubtier-asyl.eternal-september.org> <20261202073550.188@kylheku.com> <lLCdnXR8RdSj_432nZ2dnZfqnPqdnZ2d@giganews.com> <Vc2dnbIrHsE7C4z2nZ2dnZfqn_qdnZ2d@giganews.com> <3a-cnWFLv9TxAIz2nZ2dnZfqn_adnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Why ordered mutexed don't work ...
Date: Thu, 3 Dec 2026 14:00:35 -0800
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <11esoq5$sv34$1@dont-email.me>
References: <11ep150$2vi4k$1@raubtier-asyl.eternal-september.org>
 <20261202073550.188@kylheku.com>
 <lLCdnXR8RdSj_432nZ2dnZfqnPqdnZ2d@giganews.com>
 <Vc2dnbIrHsE7C4z2nZ2dnZfqn_qdnZ2d@giganews.com>
 <3a-cnWFLv9TxAIz2nZ2dnZfqn_adnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 03 Dec 2026 22:00:37 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="949348"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/LI+hab1FCh9Bxv1QInncD/21GbnH4dCk="; posting-host="27be630b90107ef0dd0e5ccb8f536ba4"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xVeCJBh36spnw6OKNID0HYuBdmA= sha256:Pukb4P0avRVurMOY8bYR7v3yXtGWK1sXjpIFV7mD4pM=
	sha1:tboleTJXkpKIgL0rxEekD2PIs10= sha256:FVfCfq5S2js/JNpFByBhaUfVeNNeBbSKFwQzyr9LsPI=
Content-Language: en-US
In-Reply-To: <3a-cnWFLv9TxAIz2nZ2dnZfqn_adnZ2d@giganews.com>