Re: [go-nuts] keep working on concurent pipe

2018-12-04 Thread Burak Serdar
On Tue, Dec 4, 2018 at 4:52 PM Alex Dvoretskiy wrote: > > I'm getting "fatal error: all goroutines are asleep - deadlock! on this code. > > Why? > > https://play.golang.org/p/KgJKu96PF7Q close(out) when a task ends. Also, you don't need to pass wg to the goroutine: https://play.golang.org/p/0K

[go-nuts] keep working on concurent pipe

2018-12-04 Thread Alex Dvoretskiy
I'm getting "fatal error: all goroutines are asleep - deadlock! on this code. Why? https://play.golang.org/p/KgJKu96PF7Q -- 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