• Michael Matloob's avatar
    runtime: break atomics out into package runtime/internal/atomic · 67faca7d
    Michael Matloob authored
    This change breaks out most of the atomics functions in the runtime
    into package runtime/internal/atomic. It adds some basic support
    in the toolchain for runtime packages, and also modifies linux/arm
    atomics to remove the dependency on the runtime's mutex. The mutexes
    have been replaced with spinlocks.
    
    all trybots are happy!
    In addition to the trybots, I've tested on the darwin/arm64 builder,
    on the darwin/arm builder, and on a ppc64le machine.
    
    Change-Id: I6698c8e3cf3834f55ce5824059f44d00dc8e3c2f
    Reviewed-on: https://go-review.googlesource.com/14204
    Run-TryBot: Michael Matloob <matloob@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    67faca7d
Name
Last commit
Last update
..
arch1_386.go Loading commit data...
arch1_amd64.go Loading commit data...
arch1_amd64p32.go Loading commit data...
arch1_arm.go Loading commit data...
arch1_arm64.go Loading commit data...
arch1_ppc64.go Loading commit data...
arch1_ppc64le.go Loading commit data...
asm.s Loading commit data...
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_amd64p32.s Loading commit data...
asm_arm.s Loading commit data...
asm_arm64.s Loading commit data...
asm_ppc64x.s Loading commit data...
atomic_386.go Loading commit data...
atomic_amd64x.go Loading commit data...
atomic_arm.go Loading commit data...
atomic_arm64.go Loading commit data...
atomic_arm64.s Loading commit data...
atomic_ppc64x.go Loading commit data...
atomic_ppc64x.s Loading commit data...
atomic_test.go Loading commit data...
stubs.go Loading commit data...
sys_darwin_arm.s Loading commit data...
sys_freebsd_arm.s Loading commit data...
sys_linux_arm.s Loading commit data...
sys_nacl_arm.s Loading commit data...
sys_netbsd_arm.s Loading commit data...
sys_openbsd_arm.s Loading commit data...
textflag.h Loading commit data...