Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjPool ¶
type ObjPool struct {
// contains filtered or unexported fields
}
func NewObjPool ¶
NewObjPool construct a new object pool
type WorkPool ¶
type WorkPool struct {
// contains filtered or unexported fields
}
WorkPool is a work pool that bind to some idl goroutines and put task to run.
func NewWorkPool ¶
NewWorkPool construct a new work pool
func (*WorkPool) SubmitWait ¶
SubmitWait submit the task and wait it util finish
Click to show internal directories.
Click to hide internal directories.