]> Cypherpunks repositories - gostls13.git/commit
runtime: change netpoll to take an amount of time to block
authorIan Lance Taylor <iant@golang.org>
Wed, 3 Apr 2019 03:27:35 +0000 (20:27 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Oct 2019 20:29:56 +0000 (20:29 +0000)
commit831e3cfaa594ceb70c3cbeff2d31fddcd9a25a5e
tree6a5203ae8e7b24bce6e2c76986aecf17e039e4a7
parent6da300b196df5fc3b33dd3bc87c477d46473abde
runtime: change netpoll to take an amount of time to block

This new facility will be used by future CLs in this series.

Change the only blocking call to netpoll to do the right thing when
netpoll returns an empty list.

Updates #6239
Updates #27707

Change-Id: I58b3c2903eda61a3698b1a4729ed0e81382bb1ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/171821
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/runtime/defs1_solaris_amd64.go
src/runtime/defs_solaris.go
src/runtime/netpoll_aix.go
src/runtime/netpoll_epoll.go
src/runtime/netpoll_fake.go
src/runtime/netpoll_kqueue.go
src/runtime/netpoll_solaris.go
src/runtime/netpoll_stub.go
src/runtime/netpoll_windows.go
src/runtime/proc.go