package
Version:
v0.8.2
Opens a new window with list of versions in this module.
Published: Jul 26, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Acquire will block if there are no more "tickets" left; otherwise will decrement number of tickets and continue.
Caller must call Release() later.
Release will free up a "ticket", and if there were any waiting goroutines, will Signal() (one of) them.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.