FAQ
Ah, got it - thanks!
On Tuesday, May 14, 2013 10:15:43 PM UTC-7, Jesse McNelis wrote:
On Wed, May 15, 2013 at 2:26 PM, <s...@box.com <javascript:>> wrote:

See <http://play.golang.org/p/1bVtjjKIm->. I am not quite understanding
why it deadlocks. Any help in pointing out what I'm missing is greatly
appreciated!

You want to take a pointer to that WaitGroup so that all the goroutines
are using the same instance.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMay 15, '13 at 5:10a
activeMay 15, '13 at 5:51a
posts4
users3
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase