package
0.12.0
Repository: https://go.googlesource.com/sync
Documentation: pkg.go.dev

# Functions

NewWeighted creates a new weighted semaphore with the given maximum combined weight for concurrent access.

# Structs

Weighted provides a way to bound concurrent access to a resource.