Andy Pan
|
0313effc53
|
opt: refactor the worker queue for reusability and readability of code
|
2023-03-23 12:28:47 +08:00 |
Z.Q.K
|
32664cb140
|
remove redundancy code
|
2022-06-27 09:29:50 +08:00 |
thinkgo
|
ef60172172
|
Avoid memory leak (#107)
|
2020-08-29 18:51:56 +08:00 |
Andy Pan
|
7aaa4349f5
|
Optimize loop queue of workers
|
2019-10-20 18:38:11 +08:00 |
Andy Pan
|
566511ec5f
|
Refactoring to the interface and implementations of worker-array
|
2019-10-10 03:02:04 +08:00 |
Kevin Bai
|
f0e23928f4
|
add loop queue (#53)
* add loop queue
* add loop queue
* fix the bugs
add loop queue
move the worker queue to directory
按照新的接口实现 lifo 队列
添加新接口的环形队列实现
rename the slice queue
修复了 unlock
使用 queue 管理 goWorkerWithFunc
使用 dequeue 判断队列
add remainder
增加测试文件
循环队列需要一个空闲位
* remove interface{}
* Refine the logic of sync.Pool
* Add flowcharts of ants into READMEs
* Add the installation about ants v2
* Renew the functional options in READMEs
* Renew English and Chinese flowcharts
* rename package name
移动 worker queue 位置
worker queue 都修改为私有接口
考虑到性能问题,把 interface{} 改回到 *goworker
* 修改 releaseExpiry 和 releaseAll
* remove files
* fix some bug
|
2019-10-10 00:59:19 +08:00 |