]> Cypherpunks repositories - gostls13.git/commit
net: Don't force epoll/kqueue to wake up in order to add new events.
authorIan Lance Taylor <iant@golang.org>
Thu, 17 Mar 2011 20:42:40 +0000 (13:42 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 17 Mar 2011 20:42:40 +0000 (13:42 -0700)
commit42bc7fc8caf7c5e367cdfc7b8a2b952281ed89ae
tree4b0adaa770d87792c9b6c0f920f36c661f386acb
parentc0f3b6c8a8f3902683abca4637dc1af83182936f
net: Don't force epoll/kqueue to wake up in order to add new events.

In conjunction with the non-blocking system call CL, this
gives about an 8% performance improvement on a client/server
test running on my local machine.

R=rsc, iant2
CC=golang-dev
https://golang.org/cl/4272057
src/pkg/net/fd.go
src/pkg/net/fd_darwin.go
src/pkg/net/fd_freebsd.go
src/pkg/net/fd_linux.go