]> Cypherpunks repositories - gostls13.git/commit
runtime: implement atomicand8 atomically
authorRuss Cox <rsc@golang.org>
Thu, 19 Mar 2015 23:42:16 +0000 (19:42 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 20 Mar 2015 04:45:29 +0000 (04:45 +0000)
commit631d6a33bf2889c5c648555ab993687a48f9c287
treea19f4ed1806f6230deddce573479cd79a55921fb
parentb93fa309f278b7fe3c6a432c0cf7873c23ef8801
runtime: implement atomicand8 atomically

We're skating on thin ice, and things are finally starting to melt around here.
(I want to avoid the debugging session that will happen when someone
uses atomicand8 expecting it to be atomic with respect to other operations.)

Change-Id: I254f1582be4eb1f2d7fbba05335a91c6bf0c7f02
Reviewed-on: https://go-review.googlesource.com/7861
Reviewed-by: Minux Ma <minux@golang.org>
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_ppc64x.s
src/runtime/atomic_386.go
src/runtime/atomic_amd64x.go
src/runtime/atomic_arm.go
src/runtime/atomic_arm64.go
src/runtime/atomic_ppc64x.go
src/runtime/mgc.go