go/src/sync
Kevin Burke f3962b1849 sync/atomic: use package prefix in examples
Previously these examples declared "var v Value" but any caller would
need to write "var v atomic.Value", so we should use the external
package declaration form to avoid confusion about where Value comes
from.

Change-Id: Ic0b1a05fb6b700da61cfc8efca594c49a9bedb69
Reviewed-on: https://go-review.googlesource.com/107975
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-04-18 23:58:54 +00:00
..
atomic sync/atomic: use package prefix in examples 2018-04-18 23:58:54 +00:00
cond.go all: change github.com issue links to golang.org 2017-11-04 04:13:41 +00:00
cond_test.go
example_pool_test.go
example_test.go
export_test.go sync: deflake TestPool and TestPoolNew 2017-06-28 22:02:07 +00:00
map.go sync: document when and when not to use Map 2018-01-04 20:13:20 +00:00
map_bench_test.go sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test 2017-07-20 18:51:09 +00:00
map_reference_test.go sync: release m.mu during (*RWMutexMap).Range callbacks in sync_test 2017-07-20 18:51:09 +00:00
map_test.go
mutex.go sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
mutex_test.go sync: throw, not panic, for unlock of unlocked mutex 2017-12-08 13:40:21 +00:00
once.go
once_test.go
pool.go
pool_test.go sync: deflake TestPool and TestPoolNew 2017-06-28 22:02:07 +00:00
runtime.go
runtime_sema_test.go
rwmutex.go sync: enable profiling of RWMutex 2018-02-14 15:38:42 +00:00
rwmutex_test.go
waitgroup.go sync: make WaitGroup more space-efficient 2018-03-15 09:56:25 +00:00
waitgroup_test.go