[dmd-concurrency] composability

Andrei Alexandrescu andrei at erdani.com
Thu Jan 7 20:05:47 PST 2010


Benjamin Shropshire wrote:
> Andrei Alexandrescu wrote:
>> Benjamin Shropshire wrote:
>>> OTOH that is just another form of the CAS 2 vs CAS 3 problem. The 
>>> system only works if you have the right abstractions.
>>
>> What do you mean by CAS 2 and CAS 3?
>>
> 
> The problem Kevin cited of their being 1 and 2 word CAS ops, but no 3 
> word CAS, and if their was a 3 word CAS, then there not being a 4 word 
> CAS. My point being that you will end up always with some case being 
> just out of reach.

The good news is that CAS is all we need. True, it's not easy...

Andrei



More information about the dmd-concurrency mailing list