File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
3636func main () {
3737 ctx := context.Background ()
3838
39- // Limits the number of simultaneous goroutines and not reuses them .
39+ // Limits goroutines.
4040 limiter := goes.NewLimiter (4 )
4141
4242 for i := 0 ; i < 20 ; i++ {
@@ -48,7 +48,7 @@ func main() {
4848
4949 limiter.Wait ()
5050
51- // Limits the number of simultaneous goroutines and reuses them .
51+ // Reuses goroutines.
5252 executor := goes.NewExecutor (4 )
5353 defer executor.Close ()
5454
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import (
3636func main () {
3737 ctx := context.Background ()
3838
39- // Limits the number of simultaneous goroutines and not reuses them .
39+ // Limits goroutines.
4040 limiter := goes.NewLimiter (4 )
4141
4242 for i := 0 ; i < 20 ; i++ {
@@ -48,7 +48,7 @@ func main() {
4848
4949 limiter.Wait ()
5050
51- // Limits the number of simultaneous goroutines and reuses them .
51+ // Reuses goroutines.
5252 executor := goes.NewExecutor (4 )
5353 defer executor.Close ()
5454
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import (
1515func main () {
1616 ctx := context .Background ()
1717
18- // Limits the number of simultaneous goroutines and not reuses them .
18+ // Limits goroutines.
1919 limiter := goes .NewLimiter (4 )
2020
2121 for i := 0 ; i < 20 ; i ++ {
@@ -27,7 +27,7 @@ func main() {
2727
2828 limiter .Wait ()
2929
30- // Limits the number of simultaneous goroutines and reuses them .
30+ // Reuses goroutines.
3131 executor := goes .NewExecutor (4 )
3232 defer executor .Close ()
3333
You can’t perform that action at this time.
0 commit comments