I checked this on FreeBSD and it still works, so seems like it could be a macOS specific issue.

You should raise a bug here:
https://github.com/golang/go/issues

It would be good to try and identify the go version which it first broke in too, as that will be helpful in identifying the change which cause the regression.

    Regards
    Steve

On 25/01/2018 04:06, Dave Keck wrote:
Hey all, this program exits (as expected) when run with macOS 10.12.6 + Go 1.8.6, but it deadlocks when run with Go 1.9.3:

https://play.golang.org/p/Dw_ND9gkgPm

The same behavior is observed when using unix.SetNonblock instead of syscall.SetNonblock.

It appears that the SetNonblock() functions don't have an effect in Go 1.9.3. Is this a known issue?

Thanks!
David
--
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 [email protected] <mailto:[email protected]>.
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to