Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ThreadPool ¶
type ThreadPool struct {
// contains filtered or unexported fields
}
func NewThreadPool ¶
func NewThreadPool(maxSize int) *ThreadPool
func (*ThreadPool) AddJob ¶
func (this *ThreadPool) AddJob(fn func())
func (*ThreadPool) CloseAndWait ¶
func (this *ThreadPool) CloseAndWait()
Click to show internal directories.
Click to hide internal directories.