3 ms·
Yes I was specifically talking about x86 CAS which is wait free. Still (but don't quote me on this because I'm no Power expert), IIRC Power actually does guara
by gpderetta 8y ago
Yes I was specifically talking about x86 CAS which is wait free.
Still (but don't quote me on this because I'm no Power expert), IIRC Power actually does guarantee, via idiom recognition, that specific uses of LL/SC are wait free by downgrading it internally to an actual CAS after a number of failures, so a compare_exchange_strong which loops a bounded number of times can be implemented on this architecture.