🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #488

Re: getting back into Relacy...

#488
From: Chris M. Thomasson
Date: Tue, 13 Oct 2026 07:38
30 lines
2189 bytes
On 10/13/2026 12:37 AM, Chris M. Thomasson wrote:
> So, I have the most recent version and coded up my old multex algo. It 
> 100% dead lock free and allows a thread to locks multiple objects in any 
> order and lock them. All of the lock ordering is taken care of in the 
> finalize function. Basically a thread seeds its per thread lock indices 
> with addresses to objects it wants to lock. Calls finalize, then locks 
> them. Does its thing and then unlocks them. Fwiw, here is my Relacy test 
> output:
> 
> struct ct_multex_relacy_test_v000
> 65% (65536/100000)
> iterations: 100000
> total time: 9390
> throughput: 10649
> 
> 
> D:\ct_dev\ct_msvc\projects\ct_relacy_test\x64\Debug\ct_relacy_test.exe 
> (process 13356) exited with code 0 (0x0).
> Press any key to close this window . . .
> 
> 
> Any my code:
[...]

Fwiw, header only Relacy can be found here:

https://github.com/dvyukov/relacy


Technical Details
Message-ID: <11akn5v$aq12$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11akn3i$aq12$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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: getting back into Relacy...
Date: Tue, 13 Oct 2026 00:38:39 -0700
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <11akn5v$aq12$2@dont-email.me>
References: <11akn3i$aq12$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 13 Oct 2026 07:38:40 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="354338"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX187m/k0RSokTCGyEY4Vi5v6xfxY/qWXo0Y="; posting-host="094496f6b743c51c3f22a7000b0b8b16"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wSBb1TePGudYG753R/CrWkRBWOI= sha256:/McrtKcMzwjADIlg3ORQEG0cAiUvCoN1NF0nrC/J86s=
	sha1:GXjC8qVdeA+bxj37FrfVPEaEQ4k= sha256:oVJzG1ioVrJrBHAmhzlyzQ1o1atEuKFV8YHM3FjDwro=
Content-Language: en-US
In-Reply-To: <11akn3i$aq12$1@dont-email.me>