go/src/pkg/sync/atomic
Rémy Oudompheng 5bb3a66a97 sync, sync/atomic: do not corrupt race detector after a nil dereference.
The race detector uses a global lock to analyze atomic
operations. A panic in the middle of the code leaves the
lock acquired.

Similarly, the sync package may leave the race detectro
inconsistent when methods are called on nil pointers.

R=golang-dev, r, minux.ma, dvyukov, rsc, adg
CC=golang-dev
https://golang.org/cl/7981043
2013-04-08 23:46:54 +02:00
..
64bit_arm.go sync/atomic: FreeBSD/ARM support 2012-10-17 14:27:58 +08:00
asm_386.s build: update assembly variable names for vet 2013-03-22 12:57:55 -04:00
asm_amd64.s race: sync/atomic changes 2012-10-07 22:07:32 +04:00
asm_arm.s sync/atomic: make unaligned 64-bit atomic operation panic on ARM 2013-04-01 14:34:03 -07:00
asm_freebsd_arm.s sync/atomic: FreeBSD/ARM support 2012-10-17 14:27:58 +08:00
asm_linux_arm.s sync/atomic: make unaligned 64-bit atomic operation panic on ARM 2013-04-01 14:34:03 -07:00
asm_netbsd_arm.s sync/atomic: support NetBSD/ARM (ARM11 or above) 2013-02-13 01:04:13 +08:00
atomic_test.go sync/atomic: make unaligned 64-bit atomic operation panic on ARM 2013-04-01 14:34:03 -07:00
doc.go sync/atomic: document that users must deal with 64-bit alignment 2013-01-02 15:44:00 -05:00
race.go sync, sync/atomic: do not corrupt race detector after a nil dereference. 2013-04-08 23:46:54 +02:00