Versions in this module Expand all Collapse all v0 v0.0.1 Feb 11, 2022 Changes in this version + type ThreadPool struct + func NewThreadPool(max int, buffer int, exef func(interface{})) *ThreadPool + func (tp *ThreadPool) AddJob(hash int, v interface{}) + func (tp *ThreadPool) AddJobTimeout(hash int, v interface{}, timeoutms int) bool + func (tp *ThreadPool) GetStat() ThreadPoolStat + func (tp *ThreadPool) ResetStat() + func (tp *ThreadPool) Stop() + type ThreadPoolStat struct + Datalen []int + Processnum []int + Pushnum []int