Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCyclicBarrierBroken = errors.New("broken barrier")
Functions ¶
This section is empty.
Types ¶
type CyclicBarrier ¶
type CyclicBarrier struct {
// contains filtered or unexported fields
}
func NewCyclicBarrier ¶
func NewCyclicBarrier(n int, onAllArrived func() error) *CyclicBarrier
func (*CyclicBarrier) IsBroken ¶
func (b *CyclicBarrier) IsBroken() bool
func (*CyclicBarrier) NumWaiting ¶
func (b *CyclicBarrier) NumWaiting() int
func (*CyclicBarrier) Reset ¶
func (b *CyclicBarrier) Reset()
Click to show internal directories.
Click to hide internal directories.