1
0
mirror of https://github.com/golang/go synced 2024-11-24 16:20:13 -07:00

net: delete debugging print

Fixes #3030.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5689071
This commit is contained in:
Russ Cox 2012-02-22 15:35:41 -05:00
parent 0427c583a5
commit 213997a730

View File

@ -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)