Sujet : Re: Ported my proxy collector...
De : chris.m.thomasson.1 (at) *nospam* gmail.com (Chris M. Thomasson)
Groupes : comp.lang.c++Date : 21. Sep 2024, 23:05:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vcnfvq$1ocq6$2@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 9/16/2024 4:08 PM, Chris M. Thomasson wrote:
[...]
It works with basically any lock-free algorithm and can actually remove the need for DWCAS and ABA counters. It can also work in conjunction with them wrt managing memory. Basically, its geared toward a user space portable poor mans RCU.
It beats traditional read write locks for sure. It enjoys read mostly type of access schemes. Readers do not block writers and vise versa. It's flexible enough to be used with existing lock-free algorithms. I used a LIFO stack in my example code.
All in portable C++ code. Kind of nice?