From 6af0e505de515af16ee9aec1a9415696484c699b Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Mon, 9 Jul 2018 16:35:08 +0800 Subject: [PATCH 1/2] update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f41ca07..85d91fa 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Package ants implements a fixed goroutine pool for managing and recycling a mass ## Features: - Automatically managing and recycling a massive number of goroutines. +- Periodically clearing overdue goroutines. - Friendly interfaces: submitting tasks, getting the number of running goroutines, readjusting capacity of pool dynamically, closing pool. - Efficient in memory usage and it even achieves higher performance than unlimited goroutines in golang. From 525d766c1a199e6b14dd10b1c9ab1d0e955e7475 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Mon, 9 Jul 2018 16:36:03 +0800 Subject: [PATCH 2/2] update readme --- README_ZH.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README_ZH.md b/README_ZH.md index b39c7a0..ed6b5af 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -18,6 +18,7 @@ ## 功能: - 实现了自动调度并发的goroutine,复用goroutine +- 定时清理过期的goroutine,进一步节省资源 - 提供了友好的接口:任务提交、获取运行中的协程数量、动态调整协程池大小 - 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生goroutine并发具有更高的性能