Deutsch   English   Français   Italiano  
<vvhsgi$1lld7$1@raubtier-asyl.eternal-september.org>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: Futex Stack Test...
Date: Thu, 8 May 2025 11:11:48 +0200
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vvhsgi$1lld7$1@raubtier-asyl.eternal-september.org>
References: <vp0g2q$1bu96$1@dont-email.me>
 <vv28lf$v2jv$1@raubtier-asyl.eternal-september.org>
 <vv3smk$2d66g$1@dont-email.me>
 <vv3ui8$2iqp0$1@raubtier-asyl.eternal-september.org>
 <vv40u4$2kni8$1@raubtier-asyl.eternal-september.org>
 <vv5ln8$26ei$1@dont-email.me>
 <vv5mn0$38ie$1@raubtier-asyl.eternal-september.org>
 <vv5shh$89nm$1@dont-email.me> <vv6hhn$rebo$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 08 May 2025 11:11:46 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="698161af8577dd729cf4ae8f2c2e410d";
	logging-data="1758631"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+oKPvCaeHFb9j8Zq5a3AbOF+eHYJW0NgE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:apeCMQaVvlrQFomDXJdRXOEi4l4=
Content-Language: de-DE
In-Reply-To: <vv6hhn$rebo$1@dont-email.me>
Bytes: 1913

Am 04.05.2025 um 03:57 schrieb Chris M. Thomasson:

> The ABA problem _and_ memory issue is only there in on the single node 
> pop for a lock-free stack. If you just whack it with a nullptr aka flush 
> _all_ nodes, then you are all right and ready to roll.

Very interesting! I'm just going to believe this without having thought
it through. This ultimately means that when memory allocators clean up
foreign releases from a lock-free stack, they don't need DWCAS to do so.