]> Cypherpunks repositories - gostls13.git/commit
runtime: fix potential deadlock in netpoll on windows
authorDmitriy Vyukov <dvyukov@google.com>
Sat, 27 Jul 2013 09:46:40 +0000 (13:46 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Sat, 27 Jul 2013 09:46:40 +0000 (13:46 +0400)
commit91d35ad1b86bd9835596704e8ecf1856d3851390
tree701141551fdd00a0c56783eed2d8c541cd95cd1b
parent29f17fb01ceedad4d76ec4442e0a3bd6a6717e09
runtime: fix potential deadlock in netpoll on windows
If netpoll has been told to block, it must not return with nil,
otherwise scheduler assumes that netpoll is disabled.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/11920044
src/pkg/runtime/netpoll_windows.c