A simple goroutine pool which can create and release goroutine dynamically, inspired by fasthttp.
Home Page:https://hnlq715.github.io/goroutine-pool/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
SUP3RIA opened this issue 6 years ago · comments
How would you implement a consumer and a producer here?
Start pool before consumer loop, and just use pool.Go func to create goroutine directly.