Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerPool ¶
type WorkerPool struct {
// contains filtered or unexported fields
}
func NewWorkerPool ¶
func NewWorkerPool(numWorkers int) *WorkerPool
func (*WorkerPool) Submit ¶
func (wp *WorkerPool) Submit(task func())
func (*WorkerPool) TrySubmit ¶
func (wp *WorkerPool) TrySubmit(task func()) bool
Click to show internal directories.
Click to hide internal directories.