mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-18 03:01:01 +00:00
🐶 update some comments
This commit is contained in:
parent
21c3ddf035
commit
e099ad7d4c
@ -69,7 +69,7 @@ func main() {
|
|||||||
wg.Done()
|
wg.Done()
|
||||||
})
|
})
|
||||||
defer p.Release()
|
defer p.Release()
|
||||||
// Submit tasks
|
// Submit tasks one by one
|
||||||
for i := 0; i < runTimes; i++ {
|
for i := 0; i < runTimes; i++ {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
p.Serve(int32(i))
|
p.Serve(int32(i))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user