-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync: use atomic.Uint32 in Once #63386
Conversation
This PR (HEAD: e7b91f3) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/532895. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from dev mstm: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Jorropo: Patch Set 1: Code-Review+1 Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Jorropo: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: CV cannot start a Run for Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2023-10-05T18:08:36Z","revision":"416580ac517118ac70f08d21bb56f45777b3ad03"} Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: This CL has failed the run. Reason: Tryjob golang/try/gotip-linux-arm64 has failed with summary (view all results): shard 1: failed to run "go tool dist test -json": exit status 1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2023-10-05T22:17:16Z","revision":"416580ac517118ac70f08d21bb56f45777b3ad03"} Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: This CL has failed the run. Reason: Tryjob golang/try/gotip-linux-arm64 has failed with summary (view all results): shard 1: failed to run "go tool dist test -json": exit status 1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
This PR (HEAD: 6b00862) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/532895. Important tips:
|
Message from Ian Lance Taylor: Patch Set 2: Commit-Queue+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 2: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2023-10-06T18:22:11Z","revision":"4acaf8e8cd6109ca93839d865d5c16c8a49648ac"} Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 2: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 2: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Go LUCI: Patch Set 2: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
This PR (HEAD: 1416501) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/532895. Important tips:
|
Message from dev mstm: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Message from Ian Lance Taylor: Patch Set 3: Auto-Submit+1 Code-Review+2 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/532895. |
Change-Id: If9089f8afd78de3e62cd575f642ff96ab69e2099 GitHub-Last-Rev: 1416501 GitHub-Pull-Request: #63386 Reviewed-on: https://go-review.googlesource.com/c/go/+/532895 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Jorropo <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Michael Pratt <[email protected]> Auto-Submit: Michael Pratt <[email protected]>
This PR is being closed because golang.org/cl/532895 has been merged. |
Sorry to bring up an old change, but could you help me understand why atomic.Uint32 would be used instead of atomic.Bool? Is there a difference? I noticed in the commit history that atomic.Bool was used, but then reverted due to struct field ordering. Thanks in advance for your help! |
@uhthomas Note that we use Gerrit for code review. Almost nobody sees comments on GitHub pull requests. Please see https://go.dev/cl/532895 for the review, and comment there if appropriate. Or ask on a forum: see https://go.dev/wiki/Questions. Thanks. |
No description provided.