Article View: comp.lang.c++
Article #553Re: Consequential RCU
From: Chris M. Thomasson
Date: Wed, 14 Oct 2026 21:02
Date: Wed, 14 Oct 2026 21:02
16 lines
2643 bytes
2643 bytes
On 10/13/2026 8:56 PM, Bonita Montero wrote: > Am 13.10.2026 um 21:29 schrieb Chris M. Thomasson: > >> m_pData = pDtaRef; >> m_pData->template incr<memory_order_acquire>(); >> tso.m_pAtmData.store( pDtaRef, memory_order_relaxed ); >> tso.m_pAtmData.notify_all(); > > No, the code is fine. > It does not need to dec any prior reference before: tso.m_pAtmData.store( pDtaRef, memory_order_relaxed ); I must be missing something here. Thanks for your patience.
Technical Details
Message-ID:
<11aoqkp$1rhh4$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-mailReferences:
<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> <11ajf2q$3uudf$1@dont-email.me> <11aki7n$9ato$1@raubtier-asyl.eternal-september.org> <11akld5$aam9$1@dont-email.me> <11aklge$aam9$2@dont-email.me> <11akneq$b12q$1@raubtier-asyl.eternal-september.org> <11am0qa$rfhs$1@dont-email.me> <11amugf$151k6$1@raubtier-asyl.eternal-september.org>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: Wed, 14 Oct 2026 14:02:16 -0700 Organization: A noiseless patient Spider Lines: 16 Message-ID: <11aoqkp$1rhh4$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> <11ajf2q$3uudf$1@dont-email.me> <11aki7n$9ato$1@raubtier-asyl.eternal-september.org> <11akld5$aam9$1@dont-email.me> <11aklge$aam9$2@dont-email.me> <11akneq$b12q$1@raubtier-asyl.eternal-september.org> <11am0qa$rfhs$1@dont-email.me> <11amugf$151k6$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: Wed, 14 Oct 2026 21:02:18 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1951268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VZovbVQDI5zVyKUAYYCsuuRW2ZaL9k3M="; posting-host="643801f06158b8bfbdcc975916b62ee0" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:cfNj1bVa3i1vgCRy/LCMmymuQCQ= sha256:v+D8h2FhfsixJ6pMTqnqtGuvVWV6KAoaiYFQbZ8x9hE= sha1:3fULyJus0s2OUZIOosmDaei2ZKQ= sha256:mo9SgCFJT4WKISwZI49Vpue23BRTo8+0WINA+xxptyA= In-Reply-To: <11amugf$151k6$1@raubtier-asyl.eternal-september.org> Content-Language: en-US