I am also correcting the error in my original post: the actual code we're 
using for spawning concurrent clients is this:

var wg sync.WaitGroup
wg.Add(n)
for i := 0; i < n; i++ {
go func() {
defer wg.Done()
        runMyProtocolClient()
    }()
}
wg.Wait()

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/1a6bd30c-7741-4927-94ab-d6a5ed80af7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to