Descriptionruntime: change netpoll in preparation for windows implementation
- change runtime_pollWait so it does not return
closed or timeout if IO is ready - windows must
know if IO has completed or not even after
interruption;
- add (*pollDesc).Prepare(mode int) that can be
used for both read and write, same for Wait;
- introduce runtime_pollWaitCanceled and expose
it in net as (*pollDesc).WaitCanceled(mode int);
Full windows netpoll changes are
here https://codereview.appspot.com/8670044/.
Patch Set 1 #Patch Set 2 : diff -r 5b2b5f8d89b0 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 5b2b5f8d89b0 https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 4 : diff -r fc8f4a3920e1 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|