No description
Find a file
Alan Donovan 7fad2c9213 errgroup: revert propagation of panics
This change reverts CL 644575, which caused panics in the f()
call after group.Go(f) to be propagated to the subsequent
group.Wait call. This caused more problems than it solved.

Also:
- preserve some of the doc comment wording of Group.Go.
- leave a "tsunami stone" comment in Group.Go.

Fixes golang/go#53757
Updates golang/go#74275
Updates golang/go#74304
Updates golang/go#74306

Change-Id: I6e3992510944db7d69c72eaf241aedf8b84e62dd
Reviewed-on: https://go-review.googlesource.com/c/sync/+/682935
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Sean Liao <sean@liao.dev>
2025-06-20 11:29:35 -07:00
errgroup errgroup: revert propagation of panics 2025-06-20 11:29:35 -07:00
semaphore semaphore: cancel acquisition with a done context 2024-03-04 17:26:02 +00:00
singleflight singleflight: fix typo in singleflight_test.go 2024-11-13 01:18:28 +00:00
syncmap all: update go directive to 1.18 2023-10-11 14:04:17 +00:00
codereview.cfg .: add codereview.cfg 2016-12-06 01:46:32 +00:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:01:46 +00:00
go.mod all: upgrade go directive to at least 1.23.0 [generated] 2025-02-14 13:41:05 -08:00
LICENSE LICENSE: update per Google Legal 2024-07-16 16:06:58 +00:00
PATENTS initial commit 2015-10-30 14:31:46 +11:00
README.md README: don't recommend go get 2024-11-01 00:46:18 +00:00

Go Sync

Go Reference

This repository provides Go concurrency primitives in addition to the ones provided by the language and "sync" and "sync/atomic" packages.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/sync.

The main issue tracker for the sync repository is located at https://go.dev/issues. Prefix your issue with "x/sync:" in the subject line, so it is easy to find.