go-pool
There are 3 repositories under go-pool topic.
xuesongtao/taskpool
支持预分配协程和用多少申请多少 分配的协程都有一个生命周期,生命周期到了会被自动回收 协程池最少有一个哨兵协程,最多有 maxWork + 1(哨兵) 如果要关闭协程池需要手动释放, 异常情况时会自动释放
xgfone/go-pools
A collection of some pools, such as BufferPool, BytesPool and TaskPool.
tdv/go-pool
A tiny library in Go for goroutine worker pools conceptually looks like a work with thread pools