]> Cypherpunks.ru repositories - gostls13.git/commit
Revert "sync: convert Once.done to atomic type"
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Sep 2022 01:14:31 +0000 (01:14 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 7 Sep 2022 13:22:04 +0000 (13:22 +0000)
commitb53471a655f3928d2d0a851b1fb5f7ebb02adc76
tree207757df456374f8ff08f85f37be1004c4850c81
parented530dbd077c8dbf680fabb1fb10da5239099e25
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>
src/sync/once.go
test/inline_sync.go