Thanks, Ian! That's exactly my use case...

On Tuesday, April 18, 2017 at 2:11:45 PM UTC-4, Ian Davis wrote:
>
> On Tue, 18 Apr 2017, at 05:58 PM, Jan Mercl wrote:
>
> On Tue, Apr 18, 2017 at 6:57 PM Frank Davidson <ffdav...@gmail.com 
> <javascript:>> wrote:
>
> > Which loop uses the least computer resources?
>
> select{}
>
>
> Note though that select is not a loop so it will not infinitely repeat 
> instructions.
>
> select{} can be used to block forever which is one common use for infinite 
> loops.
>
> Ian
>

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