go/src/sync/atomic
Cherry Zhang 1b6fec862c sync/atomic: redirect many functions to runtime/internal/atomic
The implementation of atomics are inherently tricky. It would
be good to have them implemented in a single place, instead of
multiple copies.

Mostly a simple redirect.

On 386, some functions in sync/atomic have better implementations,
which are moved to runtime/internal/atomic.

On ARM, some functions in sync/atomic have better implementations.
They are dropped by this CL, but restored with an improved
version in a follow-up CL. On linux/arm, 64-bit CAS kernel helper
is dropped, as we're trying to move away from kernel helpers.

Fixes #23778.

Change-Id: Icb9e1039acc92adbb2a371c34baaf0b79551c3ea
Reviewed-on: https://go-review.googlesource.com/93637
Reviewed-by: Austin Clements <austin@google.com>
2018-05-03 21:35:01 +00:00
..
asm.s sync/atomic: redirect many functions to runtime/internal/atomic 2018-05-03 21:35:01 +00:00
atomic_test.go
doc.go
example_test.go sync/atomic: use package prefix in examples 2018-04-18 23:58:54 +00:00
race.s
value.go sync/atomic: remove noCopy from Value 2017-12-01 16:38:53 +00:00
value_test.go sync/atomic: use package prefix in examples 2018-04-18 23:58:54 +00:00