On Sun, Dec 31, 2017 at 2:47 PM dc0d <kaveh.shahbaz...@gmail.com> wrote:

> What is the expected output?

Deadlock, ofc. What else one could expect if the goroutine trying to
perform the initial phase the select statement is blocked forever and no
other userland goroutine executes?

The only other option would be for the select statement to start a
goroutine per select case. Now that's what I would call unexpected,
performance issues aside.

-- 

-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.

Reply via email to