Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + type Cond struct + L Locker + func NewCond(l Locker) *Cond + func (c *Cond) Broadcast() + func (c *Cond) Signal() + func (c *Cond) Wait() + type Locker interface + Lock func() + Unlock func() + type Map struct + func (m *Map) Delete(key any) + func (m *Map) Load(key any) (value any, ok bool) + func (m *Map) LoadAndDelete(key any) (value any, loaded bool) + func (m *Map) LoadOrStore(key, value any) (actual any, loaded bool) + func (m *Map) Range(f func(key, value any) bool) + func (m *Map) Store(key, value any) + type Mutex struct + func (m *Mutex) Lock() + func (m *Mutex) TryLock() bool + func (m *Mutex) Unlock() + type Once struct + func (o *Once) Do(f func()) + type Pool struct + New func() any + func (p *Pool) Get() any + func (p *Pool) Put(x any) + type RWMutex struct + func (rw *RWMutex) Lock() + func (rw *RWMutex) RLock() + func (rw *RWMutex) RLocker() Locker + func (rw *RWMutex) RUnlock() + func (rw *RWMutex) TryLock() bool + func (rw *RWMutex) TryRLock() bool + func (rw *RWMutex) Unlock() + type WaitGroup struct + func (wg *WaitGroup) Add(delta int) + func (wg *WaitGroup) Done() + func (wg *WaitGroup) Wait()