sync
moduleThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
Go Sync
This repository provides Go concurrency primitives in addition to theones 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 tothis repository, seehttps://go.dev/doc/contribute.
The git repository ishttps://go.googlesource.com/sync.
The main issue tracker for the sync repository is located athttps://go.dev/issues. Prefix your issue with "x/sync:" in thesubject line, so it is easy to find.
Directories¶
Path | Synopsis |
---|---|
Package errgroup provides synchronization, error propagation, and Context cancelation for groups of goroutines working on subtasks of a common task. | Package errgroup provides synchronization, error propagation, and Context cancelation for groups of goroutines working on subtasks of a common task. |
Package semaphore provides a weighted semaphore implementation. | Package semaphore provides a weighted semaphore implementation. |
Package singleflight provides a duplicate function call suppression mechanism. | Package singleflight provides a duplicate function call suppression mechanism. |
Package syncmap provides a concurrent map implementation. | Package syncmap provides a concurrent map implementation. |