urcu-qsbr: document compiler barrier
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 14 Mar 2010 14:27:23 +0000 (10:27 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 14 Mar 2010 14:27:23 +0000 (10:27 -0400)
commit7a5a38f52b8814d0188b74a91cb635bc205df96c
tree79284e6b6a199ebb2c39f7bcddbe3eb9a7b7a8e5
parentf6bdb00daa1ce299dd8ddfba582fa8ecaa2e4e4e
urcu-qsbr: document compiler barrier

This compiler barrier is, at the implementation level, already provided by the
volatile accesses for STORE/LOAD_SHARED. However, given that these primitives
does not provide this guarantee at the high-level (and might use lighter gcc
primitives eventually), we need to add an explicit barrier().

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