On Fri, Nov 18, 2022 at 2:49 PM Tan Telephone <telephone2...@gmail.com> wrote:
>
> Is that appropriate? Does os.File meet the requirement "must allow Read to be 
> called concurrently with Close. In particular, calling Close should unblock a 
> Read waiting for input"?

Yes, os.File meets that requirement.  (Note that I/O calls on an
ordinary disk file won't block anyhow.)

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXYVL7_YmEQEWMZ1KWVTVtjED4bUkwSa6rHJx4H1%2BETZA%40mail.gmail.com.

Reply via email to