Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrencyManager ¶
type ConcurrencyManager struct {
// contains filtered or unexported fields
}
func (*ConcurrencyManager) RunningCount ¶
func (c *ConcurrencyManager) RunningCount() int32
Returns the number of goroutines which are running
func (*ConcurrencyManager) Wait ¶
func (c *ConcurrencyManager) Wait()
Wait until a slot is available for the new goroutine. A goroutine have to start after this function.
func (*ConcurrencyManager) WaitAllDone ¶
func (c *ConcurrencyManager) WaitAllDone()
Wait for all goroutines are done
Click to show internal directories.
Click to hide internal directories.