On Mon, Jun 27, 2016 at 6:26 AM, Michael Soulier <msoul...@gmail.com> wrote: > On Saturday, June 25, 2016 at 9:03:59 PM UTC-4, Michael Soulier wrote: >> >> Hmm. Maybe I misunderstand how runsv connects the two. A simple shell test >> seems to behave more as expected. I'll need to dig. >> > > I think I found it. On read I'm getting "resource temporarily unavailable", > so I suspect runsv has set stdin to be non-blocking. > > select() is the only way I know of to work with a non-blocking file > descriptor. Now if I can only get select to work.
The golang.org/x/sys/unix package support Poll on GNU/Linux. 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.