]> Cypherpunks repositories - gostls13.git/commit
internal/poll: only start Windows goroutines when we need them
authorIan Lance Taylor <iant@golang.org>
Sat, 4 Mar 2017 01:15:11 +0000 (17:15 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 6 Mar 2017 19:57:39 +0000 (19:57 +0000)
commit61d9cd73fb3f3748be84320a4e78841c445a38f3
tree073c68ac311d8e15b8ed551cbdbee288c408aae3
parent5ce06cf71d62e6fc1740d97b4ff4dda7e039c606
internal/poll: only start Windows goroutines when we need them

We don't need to start the goroutines if the program isn't going to do
any I/O.

Fixes #19390.

Change-Id: I47eef992d3ad05ed5f3150f4d6e5b3e0cb16a551
Reviewed-on: https://go-review.googlesource.com/37762
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/internal/poll/fd_windows.go