atomic: provide seq_cst semantics on powerpc
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Sep 2011 00:25:20 +0000 (20:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 22 Sep 2011 00:25:20 +0000 (20:25 -0400)
commitdabbe4f87217fc22279a02d98db4984b3187b77c
tree120369d3fac1b2ff8b41b5548c07c25cee82b6d0
parent356c8794ee9e562954a52653fbb8f37b7fe16082
atomic: provide seq_cst semantics on powerpc

We provide sequential consistency semantic over all architectures for
cmpxchg and add_return family of primitives, but the powerpc
implementation does not match that.

Change the isync after the atomic primitives to sync, and explain the
scheme.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/uatomic/ppc.h
This page took 0.024336 seconds and 4 git commands to generate.