]> Cypherpunks repositories - gostls13.git/commitdiff
doc: mention that os package now uses poller
authorIan Lance Taylor <iant@golang.org>
Thu, 15 Jun 2017 17:29:34 +0000 (10:29 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 15 Jun 2017 17:56:34 +0000 (17:56 +0000)
Updates #20587

Change-Id: I428d20bf8512ba859cc63c439bd5d92a5173fad2
Reviewed-on: https://go-review.googlesource.com/45910
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.9.html

index 76772e400874df9302ac1f5f04c296120db537f6..c7515379f55fe60a50a1c3df806190819c5d3072 100644 (file)
@@ -608,6 +608,15 @@ CL 40331: https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS gener
 </dl><!-- net/http/httptest -->
 
 <dl id="os"><dt><a href="/pkg/os/">os</a></dt>
+  <dd>
+    <p><!-- CL 36800 -->
+      The <code>os</code>package now uses the internal runtime poller
+      for file I/O.
+      This reduces the number of threads required for read/write
+      operations on pipes, and eliminates races when one goroutine
+      closes a file while another using it for I/O.
+    </p>
+
   <dd>
     <p><!-- CL 37915 -->
       On Windows,