Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountdownLatch ¶
I am writing this count down latch because sync.WaitGroup doesn't support decrementing counter when it's 0.
func NewCountdownLatch ¶
func NewCountdownLatch(count int) *CountdownLatch
func (*CountdownLatch) Await ¶
func (c *CountdownLatch) Await()
func (*CountdownLatch) Count ¶
func (c *CountdownLatch) Count() int
func (*CountdownLatch) CountDown ¶
func (c *CountdownLatch) CountDown()
Click to show internal directories.
Click to hide internal directories.