//
pkg.gl
Category
github.com/antigloss/go
sync
package
1.19.3
Repository:
https://github.com/antigloss/go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
91 SLOC
#
Functions
NewSemaphore
NewSemaphore creates a ready-to-use Semaphore.
#
Structs
Semaphore
Semaphore is a mimic of the POSIX semaphore based on channel and sync.Mutex.
SemaphoreResource
SemaphoreResource holds resources acquired from a Semaphore object.