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:54:05 +0000 (18:54 -0500)
commit027476ea9c652d07f892bbf9e6d350eae2a63174
tree3bf253febd51e918a470c3baf1a4296be6778be9
parent8bf9d59bbd7b9b98a8223b06c800d295b8507bdf
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.025461 seconds and 4 git commands to generate.