🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Consequential RCU

#321
From: Chris M. Thomasson
Date: Mon, 12 Oct 2026 20:24
17 lines
2672 bytes
On 10/12/2026 1:19 PM, Chris M. Thomasson wrote:
> On 10/11/2026 9:32 PM, Bonita Montero wrote:
>> Am 12.10.2026 um 05:31 schrieb Chris M. Thomasson:
>>
>>> Nice, 32 threads is a good load! Actually, can you tell me a bit more 
>>> about what the test did? Mainly... did the shared pointer actually 
>>> change during the run (and how often), and did anything check the 
>>> results at the end, like total allocated vs. total freed?
> [...]
> 
> Where is sobj_mode defined, and is that the same shared_obj header you 
> posted before?

Just use your thing to allow iterations of a lock-free linked list not 
have to use DWCAS, ABA. Make it single word. Let reader threads iterate 
it while writer threads are mutating it. Make it all lock-free, no 
loops. Can you do it as is?
Technical Details
Message-ID: <11ajfmt$3v6hu$1@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: <118f4vv$3plsv$1@dont-email.me> <11a0l38$150m3$1@raubtier-asyl.eternal-september.org> <11a0odn$16c2e$1@dont-email.me> <11a0tf5$18frd$1@raubtier-asyl.eternal-september.org> <11a4i3l$2i092$3@dont-email.me> <11a5fpa$2sm77$1@raubtier-asyl.eternal-september.org> <11a695o$370r9$3@dont-email.me> <11a749f$3fl36$2@raubtier-asyl.eternal-september.org> <11aea6s$23clj$2@dont-email.me> <11af538$2bhju$1@raubtier-asyl.eternal-september.org> <11agtqp$30rp8$1@dont-email.me> <11ahjij$37hnn$1@raubtier-asyl.eternal-september.org> <11ahkae$37oqq$1@dont-email.me> <11ahnst$38s55$1@raubtier-asyl.eternal-september.org> <11ajfde$3v25j$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: Consequential RCU
Date: Mon, 12 Oct 2026 13:24:59 -0700
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <11ajfmt$3v6hu$1@dont-email.me>
References: <118f4vv$3plsv$1@dont-email.me>
 <11a0l38$150m3$1@raubtier-asyl.eternal-september.org>
 <11a0odn$16c2e$1@dont-email.me>
 <11a0tf5$18frd$1@raubtier-asyl.eternal-september.org>
 <11a4i3l$2i092$3@dont-email.me>
 <11a5fpa$2sm77$1@raubtier-asyl.eternal-september.org>
 <11a695o$370r9$3@dont-email.me>
 <11a749f$3fl36$2@raubtier-asyl.eternal-september.org>
 <11aea6s$23clj$2@dont-email.me>
 <11af538$2bhju$1@raubtier-asyl.eternal-september.org>
 <11agtqp$30rp8$1@dont-email.me>
 <11ahjij$37hnn$1@raubtier-asyl.eternal-september.org>
 <11ahkae$37oqq$1@dont-email.me>
 <11ahnst$38s55$1@raubtier-asyl.eternal-september.org>
 <11ajfde$3v25j$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 12 Oct 2026 20:25:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="4168254"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18AQGfriX6rzKxp8YagNDm1DEyGiIlhlk0="; posting-host="23695f1b3419bf2835ebd55b3868dbf0"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:134a0hAz+3SrFrZnM5Rp4SKEHok= sha256:gsYPA2jWSPKAGqNLtyV3g13+UP08YZ6FvFzbuSqvjz0=
	sha1:cS3wANERbncAB+EQ009TkBPN3D8= sha256:XqGFLoiT1+x9zi5kZLA18XuPlqR5FPY+nzCJg2OR7gQ=
Content-Language: en-US
In-Reply-To: <11ajfde$3v25j$1@dont-email.me>