Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RoutineRun ¶
func RoutineRun(job Job, rp *RoutinePool)
Types ¶
type RoutinePool ¶
type RoutinePool struct {
// contains filtered or unexported fields
}
func NewRoutinePool ¶
func NewRoutinePool(max int) *RoutinePool
func (*RoutinePool) Add ¶
func (rp *RoutinePool) Add()
func (*RoutinePool) AddJob ¶
func (rp *RoutinePool) AddJob(job Job)
func (*RoutinePool) Done ¶
func (rp *RoutinePool) Done()
func (*RoutinePool) WaitAll ¶
func (rp *RoutinePool) WaitAll()
Click to show internal directories.
Click to hide internal directories.