runtime/internal/atomic: new package, API copied from Go 1.7
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 10 Sep 2016 12:21:59 +0000 (12:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 10 Sep 2016 12:21:59 +0000 (12:21 +0000)
commit337fa50b7b0d2964b6ebe2373224b5c1bbb61efb
treeb4415ddf1a7fca30e8f28898fc5f1a50f344315c
parentec1ea9cfbcd4a1285b4dfa81cb1680aed3ecd7e5
runtime/internal/atomic: new package, API copied from Go 1.7

    Copy over the Go 1.7 runtime/internal/atomic package, but implement the
    functions in C using __atomic functions rather than using the
    processor-specific assembler code.

    Reviewed-on: https://go-review.googlesource.com/29010

From-SVN: r240070
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/internal/atomic/atomic.c [new file with mode: 0644]
libgo/go/runtime/internal/atomic/atomic_test.go [new file with mode: 0644]
libgo/go/runtime/internal/atomic/gccgo.go [new file with mode: 0644]
libgo/go/runtime/internal/atomic/stubs.go [new file with mode: 0644]