//
pkg.gl
Category
github.com/cockroachdb/gostdlib
x
sync
semaphore
package
1.19.0
Repository:
https://github.com/cockroachdb/gostdlib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
110 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.