Documentation ¶ Index ¶ type Cond func NewCond(l sync.Locker) *Cond func (c *Cond) Broadcast() func (c *Cond) BroadcastDo(do func() error) func (c *Cond) Signal() func (c *Cond) SignalDo(do func() error) func (c *Cond) WaitForDo(timeout int, pred func() bool, do func() error) error func (c *Cond) WaitUntilDo(timeout int, pred func() bool, do func() error) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cond ¶ type Cond struct { L sync.Locker // contains filtered or unexported fields } func NewCond ¶ func NewCond(l sync.Locker) *Cond func (*Cond) Broadcast ¶ func (c *Cond) Broadcast() func (*Cond) BroadcastDo ¶ func (c *Cond) BroadcastDo(do func() error) func (*Cond) Signal ¶ func (c *Cond) Signal() func (*Cond) SignalDo ¶ func (c *Cond) SignalDo(do func() error) func (*Cond) WaitForDo ¶ func (c *Cond) WaitForDo(timeout int, pred func() bool, do func() error) error func (*Cond) WaitUntilDo ¶ func (c *Cond) WaitUntilDo(timeout int, pred func() bool, do func() error) error Source Files ¶ View all Source files cond.go Directories ¶ Show internal Expand all Path Synopsis atomic Click to show internal directories. Click to hide internal directories.