If that file is a pipe, yes.
If that file is not a pipe, no, it's still not possible because POSIX doesn't
give those guarnetees without using non blocking IO.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and st
Hey all,
With Go 1.9's use of the poller for file I/O, I'd like to use f.Close() to
make another goroutine exit if it's blocked on a read or write. Is that
safe in Go 1.9? (Currently I'm using a kqueue to safely handle such
teardown.)
Thanks!
David
--
You received this message because you are s