| commit | 39f35108910ba6411925a6a097aa06d6754a338b | [log] [tgz] |
|---|---|---|
| author | Dmitriy Vyukov <dvyukov@google.com> | Thu Jul 11 15:15:41 2013 -0400 |
| committer | Russ Cox <rsc@swtch.com> | Thu Jul 11 15:15:41 2013 -0400 |
| tree | dca05580f80153b52d3bf365a2aa2e87b0b00389 | |
| parent | 214e74dde64555d84979fbd5527a5a467ee44fb1 [diff] |
re2: refactor atomic operations interface + use compiler builtin atomics for newer compilers The purpose of this change is to make atomic operations interceptable by race detectors. Tested with gcc 4.6.3, gcc 4.9.0 (20130603) and clang 3.4 (184078), in both release and debug builds. R=rsc CC=kcc, re2-dev https://codereview.appspot.com/9586043