go1.20.5
GoThrough

sync.Locker

// A Locker represents an object that can be locked and unlocked. type Locker interface { Lock() Unlock() }

sync.NewCond

// NewCond returns a new Cond with Locker l. func NewCond(l Locker) *Cond