package sync
import "honnef.co/go/tools/internal/sync"
Index ¶
Types ¶
type Semaphore ¶
type Semaphore struct {
// contains filtered or unexported fields
}
func NewSemaphore ¶
func (Semaphore) Acquire ¶
func (sem Semaphore) Acquire()
func (Semaphore) AcquireMaybe ¶
func (Semaphore) Cap ¶
func (Semaphore) Len ¶
func (Semaphore) Release ¶
func (sem Semaphore) Release()
Source Files ¶
sync.go
- Version
- v0.4.0-0.dev
- Published
- Mar 30, 2022
- Platform
- js/wasm
- Last checked
- 7 minutes ago –
Tools for package owners.