Andy Pan
|
1ee8144272
|
add a new module of cleaning up goroutines
|
2018-05-20 18:57:11 +08:00 |
Andy Pan
|
ddcdb57b63
|
pass the benchmark test
|
2018-05-20 16:22:56 +08:00 |
Andy Pan
|
5b274e54b4
|
test
|
2018-05-20 11:51:14 +08:00 |
Andy Pan
|
91349c14bb
|
use sync.Pool to recycle goroutines
|
2018-05-20 02:52:39 +08:00 |
Andy Pan
|
315a18400c
|
update go test
|
2018-05-19 20:16:33 +08:00 |
Andy Pan
|
0423264ffa
|
use WaitGroup to wait all goroutines to exit
|
2018-05-19 19:51:33 +08:00 |
Andy Pan
|
0fd8ba8dae
|
use the "container/list" to keep workers
|
2018-05-19 19:08:31 +08:00 |
Andy Pan
|
2929cede54
|
use sync.Pool
|
2018-05-19 18:24:36 +08:00 |
Andy Pan
|
2f6f0de82b
|
update go test
|
2018-05-19 15:22:14 +08:00 |
Andy Pan
|
e683ddc821
|
add go test
|
2018-05-19 12:33:29 +08:00 |