On Wed, Feb 15, 2017, 6:32 AM Felipe Oliveira <
felipeweb.programa...@gmail.com> wrote:

> Guys, a select without default locks the execution. but if that select is
> in another goroutine it locks the main gourotine too?
>

The select statement can **block** the current goroutine, if it does not
have a default case and none of the cases are ready for communication.

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

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