mirror of
https://github.com/golang/go
synced 2024-09-28 17:24:28 -06:00
doc/go1.21: mention NewFile on non-blocking descriptor
The returned descriptor now remains in non-blocking mode. For #58408 For #60211 Change-Id: I88d33c180db642d055b4fed3b03a9afa02e746bd Reviewed-on: https://go-review.googlesource.com/c/go/+/501699 Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Bypass: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
471561c590
commit
a272d1f687
@ -859,7 +859,11 @@ Do not send CLs removing the interior tags from such phrases.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 495079 -->
|
||||
TODO: <a href="https://go.dev/cl/495079">https://go.dev/cl/495079</a>: os: if descriptor is non-blocking, retain that in Fd method
|
||||
On Unix systems, if a non-blocking descriptor is passed
|
||||
to <a href="/pkg/os/#NewFile"><code>NewFile</code></a>, calling
|
||||
the <a href="/pkg/os/#File.Fd"><code>File.Fd</code></a> method
|
||||
will now return a non-blocking descriptor. Previously the
|
||||
descriptor was converted to blocking mode.
|
||||
</p>
|
||||
|
||||
<p><!-- CL 477215 -->
|
||||
|
Loading…
Reference in New Issue
Block a user