Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ThreadPoolCancelled = fmt.Errorf("thread pool cancelled")
Functions ¶
This section is empty.
Types ¶
type ThreadPool ¶
type ThreadPool struct {
// contains filtered or unexported fields
}
func New ¶
func New(n int) *ThreadPool
func (*ThreadPool) DoneAddingJobs ¶
func (tp *ThreadPool) DoneAddingJobs()
func (*ThreadPool) Run ¶
func (tp *ThreadPool) Run() error
Click to show internal directories.
Click to hide internal directories.