
21 Dec
2009
21 Dec
'09
8:21 p.m.
Am Monday 21 December 2009 18:21:39 schrieb Chris M. Thomasson:
"Helge Bahmann" <hcb@chaoticmind.net> wrote in message news:alpine.DEB.1.10.0912211630230.31425@m65s28.vlinux.de...
On Mon, 21 Dec 2009, Chris M. Thomasson wrote:
Of course you are right. For some reason, I was thinking that `memory_order_consume' would boil down to a:
MEMBAR #LoadLoad
on a SPARC.
mmh... do you happen to have a Sparc at hand for testing? (Mine is currently broken). If yes, would you mind doing a little bit of testing so we could implement atomic ops for Sparc as well? [...]
Interesting... Humm, that kind of reminds me of a sequence lock:
yes, it's exactly the same idea Best regards Helge