DescriptionThe comments in dfa indicate that at some point read memory barriers would
be added, as require for lax memory systems such as Alpha.
Here is a patch that adds memory barrier support on Alpha (although not
tested on an alpha).
This patch is used in Debian's re2, as we replace atomicops.h code with
inlined memory barrier functions provided by libatomic-ops. Thus we don't
need to support every architecture in RE2, but we do need read memory
barriers in the lock-free search code.
Patch Set 1 #Patch Set 2 : code review 1020043: The comments in dfa indicate that at some point read me... #Patch Set 3 : code review 1020043: The comments in dfa indicate that at some point read me... #MessagesTotal messages: 6
|