On Wed, May 15, 2013 at 2:26 PM, 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!
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.