//
pkg.gl
Category
golang.org/x/sync
semaphore
package
0.12.0
Repository:
https://go.googlesource.com/sync
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
2.7k
Files
136 SLOC
#
Functions
NewWeighted
NewWeighted creates a new weighted semaphore with the given maximum combined weight for concurrent access.
#
Structs
Weighted
Weighted provides a way to bound concurrent access to a resource.