p := pool.New(16, count) //需要总数为count的,大小限制为16的协程池
p.Run(func(){}) //开始任务
p.Wait() //等待所有协程执行完毕
-
Notifications
You must be signed in to change notification settings - Fork 0
wuraaaaaa/pool
About
GoroutinePool
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published