Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoutinePool ¶
type RoutinePool struct {
// contains filtered or unexported fields
}
func CreateRoutinePool ¶
func CreateRoutinePool(size int, pf func(para interface{}), cf func(para interface{})) *RoutinePool
func (*RoutinePool) Invoke ¶
func (this *RoutinePool) Invoke(para interface{})
func (*RoutinePool) Release ¶
func (this *RoutinePool) Release()
func (*RoutinePool) Running ¶
func (this *RoutinePool) Running() int
func (*RoutinePool) Wait ¶
func (this *RoutinePool) Wait(para interface{})
Click to show internal directories.
Click to hide internal directories.