From: Russ Cox Date: Wed, 22 Feb 2012 20:35:41 +0000 (-0500) Subject: net: delete debugging print X-Git-Tag: weekly.2012-02-22~15 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=213997a7302c07f74d35ab0510e80f0ed1c2ff22;p=gostls13.git net: delete debugging print Fixes #3030. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5689071 --- diff --git a/src/pkg/net/fd.go b/src/pkg/net/fd.go index 334da7f22f..ae1bf2614a 100644 --- a/src/pkg/net/fd.go +++ b/src/pkg/net/fd.go @@ -252,7 +252,9 @@ func (s *pollServer) Run() { } else { netfd := s.LookupFD(fd, mode) if netfd == nil { - print("pollServer: unexpected wakeup for fd=", fd, " mode=", string(mode), "\n") + // This can happen because the WaitFD runs without + // holding s's lock, so there might be a pending wakeup + // for an fd that has been evicted. No harm done. continue } s.WakeFD(netfd, mode, nil)