Additional Go concurrency primitives

Clone this repo:
  1. 14be23e semaphore: cancel acquisition with a done context by Branden Brown · 6 months ago master v0.7.0
  2. 59c1ca1 errgroup: add reference to sync.WaitGroup by Olivier Mengué · 6 months ago v0.6.0
  3. 10739b0 all: update go directive to 1.18 by Dmitri Shuralyov · 6 months ago v0.5.0
  4. 22ba207 singleflight: add panicError.Unwrap method by Eric Wohltman · 7 months ago v0.4.0
  5. 93782cc errgroup: use WithCancelCause to cancel context by Jon Johnson · 1 year, 1 month ago internal-branch.go1.21-vendor v0.3.0

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.

Download/Install

The easiest way to install is to run go get -u golang.org/x/sync. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sync.

Report Issues / Send Patches

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

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