go/src/sync
Russ Cox d4b2638234 all: go fmt std cmd (but revert vendor)
Make all our package sources use Go 1.17 gofmt format
(adding //go:build lines).

Part of //go:build change (#41184).
See https://golang.org/design/draft-gobuild

Change-Id: Ia0534360e4957e58cd9a18429c39d0e32a6addb4
Reviewed-on: https://go-review.googlesource.com/c/go/+/294430
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2021-02-20 03:54:50 +00:00
..
atomic sync: use 386 instead of x86-32 to refer to the 32 bit x86 architecture 2020-11-23 05:57:35 +00:00
cond.go
cond_test.go all: add empty line between copyright header and package clause 2020-08-17 09:45:44 +00:00
example_pool_test.go
example_test.go
export_test.go
map.go sync: delete dirty keys inside Map.LoadAndDelete 2020-08-24 20:05:41 +00:00
map_bench_test.go
map_reference_test.go
map_test.go sync: delete dirty keys inside Map.LoadAndDelete 2020-08-24 20:05:41 +00:00
mutex.go
mutex_test.go sync: fix goroutine leak for when TestMutexFairness times out 2020-08-14 23:04:16 +00:00
once.go sync: use 386 instead of x86-32 to refer to the 32 bit x86 architecture 2020-11-23 05:57:35 +00:00
once_test.go
pool.go cmd/go,cmd/compile,sync: remove special import case in cmd/go 2020-10-26 20:12:53 +00:00
pool_test.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
poolqueue.go sync: fix typo in pooldequeue 2020-10-14 13:38:41 +00:00
runtime.go runtime: static lock ranking for the runtime (enabled by GOEXPERIMENT) 2020-04-07 21:51:03 +00:00
runtime2.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
runtime2_lockrank.go all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
runtime_sema_test.go
rwmutex.go sync: document RWMutex race semantics 2020-11-18 20:12:03 +00:00
rwmutex_test.go net/textproto, sync: unlock mutexes appropriately before panics 2020-04-08 16:19:51 +00:00
waitgroup.go
waitgroup_test.go