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.5.0-0.dev
- Published
- Feb 3, 2023
- Platform
- linux/amd64
- Last checked
- 3 minutes ago –
Tools for package owners.