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

> Also the function first() may block on it's own.

That's the very purpose of the select statement!

1. Determine which cases can proceed and which cannot.
2. Randomly select one case which can proceed and perform the
communication, if there's any such, otherwise block until something can
proceed unless a default case is present.

-- 

-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