GCC has supported the __atomic intrinsics since 4.7. They are better
than the __sync intrinsics in that they specify a memory model and,
more importantly for our purposes, they are reliably implemented
either in the compiler or in libatomic.
Fixes https://gcc.gnu.org/PR52084
Reviewed-on: https://go-review.googlesource.com/c/160820
From-SVN: r268458
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| atomic | Loading commit data... | |
| cond.go | Loading commit data... | |
| cond_test.go | Loading commit data... | |
| example_pool_test.go | Loading commit data... | |
| example_test.go | Loading commit data... | |
| export_test.go | Loading commit data... | |
| map.go | Loading commit data... | |
| map_bench_test.go | Loading commit data... | |
| map_reference_test.go | Loading commit data... | |
| map_test.go | Loading commit data... | |
| mutex.go | Loading commit data... | |
| mutex_test.go | Loading commit data... | |
| once.go | Loading commit data... | |
| once_test.go | Loading commit data... | |
| pool.go | Loading commit data... | |
| pool_test.go | Loading commit data... | |
| runtime.go | Loading commit data... | |
| runtime_sema_test.go | Loading commit data... | |
| rwmutex.go | Loading commit data... | |
| rwmutex_test.go | Loading commit data... | |
| waitgroup.go | Loading commit data... | |
| waitgroup_test.go | Loading commit data... |