devchat-ai / gopool

GoPool is a high-performance, feature-rich, and easy-to-use worker pool library for Golang.
MIT License
187 stars 26 forks source link

when shld u use spinlock vs the mutex version? #24

Open kolinfluence opened 7 months ago

kolinfluence commented 7 months ago

i already read this but i prefer having your feedback in regards to usage with gopool:

https://mmomtchev.medium.com/spinlock-vs-mutex-performance-3f73de53a460

can you also list out the limitations / caveats compared with ants, https://github.com/bytedance/gopkg/tree/develop/util/gopool

https://github.com/alphadose/itogami just curious what ur thoughts on these are. thx