Add compiler barriers to read-side for mutex ordering
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sat, 6 Nov 2010 19:09:29 +0000 (15:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sat, 6 Nov 2010 19:09:29 +0000 (15:09 -0400)
commit42a3f1f99827c1bd73270966d4fffd6157809a7c
treeb658019414e060951e7403ddd3624b2557f82607
parent04e3eaa936284a9dbaa220295771b75aba54926e
Add compiler barriers to read-side for mutex ordering

Ensure that mutex acquisition/release is not reordered wrt rcu read lock/unlock.
No impact in practice because pthreads lock/unlock primitives act as memory
barriers. But we should provide the same guarantees we are expecting from other
locking primitives, hence this modification.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-bp-static.h
urcu-qsbr-static.h
urcu-static.h
This page took 0.025206 seconds and 4 git commands to generate.