Subject: Re: [boost] wait-free fast-pathed, bounded-time, 100% starvation-free rw-mutex...
From: Chris M. Thomasson (cristom_at_[hidden])
Date: 2009-08-22 06:43:16
"Andrey Semashev" <andrey.semashev_at_[hidden]> wrote in message
> DE wrote:
>> on 21.08.2009 at 18:44
>> Chris M. Thomasson wrote :
>>> I was wondering if the following invention of mine might be of use to
>>> (please __read_all__; thank you)
>> it might be right that!!!
> Agreed. :)
> I think, support form moving locker guards and delayed locking is the
> right solution for this need.
I think you are right.
> As for the initial proposal, if it really does fulfill the stated
> features, I'm all for including it into Boost.Thread.
This version does indeed fulfill all of the stated features/claims:
However this version:
will only support bounded-time starvation-free writer only contention if the
underlying mutex has said properties. It still will not starve in the sense
of reads to writes, or even pure reads. But pure writes are at the mercy of
the underlying mutex implementation.
> However, I'd like to see Anthony's opinion on this.
I hope he thinks it's worthy because IMHO Boost has no room for crappy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk