| Deutsch English Français Italiano |
|
<103n3v6$co24$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: jseigh <jseigh_es00@xemaps.com> Newsgroups: comp.lang.c++ Subject: Re: Wait-free Hazard Pointers Using Std Atomics Date: Fri, 27 Jun 2025 17:54:46 -0400 Organization: A noiseless patient Spider Lines: 17 Message-ID: <103n3v6$co24$1@dont-email.me> References: <1012o73$276nn$1@dont-email.me> <101830t$3faku$1@dont-email.me> <101aisl$2cjp$1@dont-email.me> <101idao$2erne$4@dont-email.me> <101l7aq$3hntf$1@dont-email.me> <101nh8m$768d$3@dont-email.me> <103bc9h$175qq$1@dont-email.me> <103la2t$3v6u3$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 27 Jun 2025 23:54:47 +0200 (CEST) Injection-Info: dont-email.me; posting-host="51644627f811bd159947413abee1ab00"; logging-data="417860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TXZc6LWEMcDTfLc3BjzM5" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:btC1i+TAGqSUiMYWGmh31hdbtr4= In-Reply-To: <103la2t$3v6u3$1@dont-email.me> Content-Language: en-US On 6/27/25 01:26, Chris M. Thomasson wrote: > On 6/23/2025 4:03 AM, jseigh wrote: >> >> I've been doing reader lock-free too long. I just realized how >> trivially simple it is to do read write lock-free for almost any data >> structure. That's slightly embarrassing. > > :^) Indeed. But, its not a bad skill to have. Well, at least to me. I'm not talking about skill but a general lock-free technique for adding or removing nodes from an arbitrary linked data structures. It might be extendable to multiple nodes but I think there would be restrictions. I'm doing everything as though exercises these days. Looks good so far. :)