Add ACCESS_ONCE to _STORE_SHARED
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sat, 9 May 2009 14:48:38 +0000 (10:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sat, 9 May 2009 14:48:38 +0000 (10:48 -0400)
We assume that the compiler does not reorder _STORE_SHARED across each other
and wrt _READ_SHARED. We therefore need to mark this access as volatile. The
compiler cannot reorder volatile accesses.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>

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