Fix: uatomic arm32: add missing release barrier before uatomic_xchg
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Dec 2016 14:35:34 +0000 (09:35 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 5 Dec 2016 23:53:55 +0000 (18:53 -0500)
commita4850cc6c0eb0a7a61086eca3076c2ea378ef65c
tree3680dae9cbfddd77d727ba75f7395d6fc4a39d13
parentdf0de5e1f256e7b8a324e52e4bcc45f5351e0ef0
Fix: uatomic arm32: add missing release barrier before uatomic_xchg

__sync_lock_test_and_set() only imply a release barrier, but
uatomic_xchg() guarantees both acquire and release barrier semantics.
Therefore, add the missing release barrier.

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