On Thu, Feb 22, 2018 at 1:50 PM, Sridhar <sridhar.chandramo...@gmail.com> wrote:
>
> In https://golang.org/src/net/http/server.go the documentation for
> shutdownPollInterval (admittedly unexported) reads:
>
> // Ideally we could find a solution that doesn't involve polling,
>
> // but which also doesn't have a high runtime cost (and doesn't
>
> // involve any contentious mutexes), but that is left as an
>
> // exercise for the reader.
>
> Is this a remnant from a book on Go ? If so which one ?

It's not from a book.  "Left as an exercise for the reader" is just a
saying.  It means, approximately, "we're not sure how to do it, but if
you can figure it out, please send a fix."

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