diff options
Diffstat (limited to 'src/runtime/netpoll.go')
-rw-r--r-- | src/runtime/netpoll.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/netpoll.go b/src/runtime/netpoll.go index 6a73f70988..bbfef80aec 100644 --- a/src/runtime/netpoll.go +++ b/src/runtime/netpoll.go @@ -102,14 +102,14 @@ type pollDesc struct { lock mutex // protects the following fields closing bool + rrun bool // whether rt is running + wrun bool // whether wt is running user uint32 // user settable cookie rseq uintptr // protects from stale read timers rt timer // read deadline timer - rrun bool // whether rt is running rd int64 // read deadline (a nanotime in the future, -1 when expired) wseq uintptr // protects from stale write timers wt timer // write deadline timer - wrun bool // whether wt is running wd int64 // write deadline (a nanotime in the future, -1 when expired) self *pollDesc // storage for indirect interface. See (*pollDesc).makeArg. } |