mirror of
https://github.com/golang/go
synced 2024-11-23 13:20:09 -07:00
[dev.cc] runtime: replace deleted netpollfd function
LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/169710043
This commit is contained in:
parent
7aa89ea798
commit
fc288681cf
@ -108,7 +108,7 @@ retry:
|
||||
op = entries[i].op
|
||||
errno = 0
|
||||
qty = 0
|
||||
if stdcall5(_WSAGetOverlappedResult, netpollfd(op.pd), uintptr(unsafe.Pointer(op)), uintptr(unsafe.Pointer(&qty)), 0, uintptr(unsafe.Pointer(&flags))) == 0 {
|
||||
if stdcall5(_WSAGetOverlappedResult, op.pd.fd, uintptr(unsafe.Pointer(op)), uintptr(unsafe.Pointer(&qty)), 0, uintptr(unsafe.Pointer(&flags))) == 0 {
|
||||
errno = int32(getlasterror())
|
||||
}
|
||||
handlecompletion(&gp, op, errno, qty)
|
||||
|
Loading…
Reference in New Issue
Block a user