On Sun, Oct 22, 2017 at 9:19 AM T L <tapir....@gmail.com> wrote: > why?
The OP code with line numbes: https://play.golang.org/p/4fmiWqDDc1 The main goroutine busy loops at lines 15-20. Because of that the goroutine at line 10 may never run and thus line 17 may never get executed. If so, line 18 and thus also lines 27 and above may also never get executed. -- -j -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.