Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConcurrencyManager ¶
type ConcurrencyManager interface {
// Wait until a slot is available for the new goroutine.
Wait()
// Done Mark a goroutine as finished
Done()
// Close the manager manually
Close()
// WaitAllDone Wait for all goroutines are done
WaitAllDone()
// RunningCount Returns the number of goroutines which are running
RunningCount() int32
}
ConcurrencyManager Interface
Click to show internal directories.
Click to hide internal directories.