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)
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>

No differences found
This page took 0.02409 seconds and 4 git commands to generate.