go/src/sync
Ian Lance Taylor b53471a655 Revert "sync: convert Once.done to atomic type"
This reverts commit CL 427140.

Reason for revert: Comments say that done should be the first field.

Change-Id: Id131da064146b44e1182289546aeb877867e63cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/428638
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-07 13:22:04 +00:00
..
atomic all: make sure *Pointer[T]'s methods are inlined as intended 2022-09-06 18:16:03 +00:00
cond.go sync: add more notes about Cond behavior 2022-06-17 21:35:36 +00:00
cond_test.go
example_pool_test.go
example_test.go
export_test.go
map.go sync: switch Map to use atomic.Pointer 2022-08-29 20:09:02 +00:00
map_bench_test.go
map_reference_test.go
map_test.go
mutex.go runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +00:00
mutex_test.go runtime: write much more direct test for semaphore waiter scalability 2022-06-16 21:25:35 +00:00
once.go Revert "sync: convert Once.done to atomic type" 2022-09-07 13:22:04 +00:00
once_test.go
pool.go runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +00:00
pool_test.go
poolqueue.go
runtime.go
runtime2.go
runtime2_lockrank.go
runtime_sema_test.go
rwmutex.go runtime, sync, sync/atomic: document happens-before guarantees 2022-06-06 20:48:03 +00:00
rwmutex_test.go
waitgroup.go sync: use atomic.Uint64 for WaitGroup state 2022-08-19 01:34:22 +00:00
waitgroup_test.go