runtime: convert windows netpoll to Go
One C file less.
I've tried to upload it 10 times, but always get "old chunk mismatch" on netpoll_windows.go. Your best bet is unified diff.
Hello golang-codereviews@googlegroups.com (cc: alex.brainman@gmail.com, khr@golang.org, rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 4 months ago
(2014-09-12 23:39:36 UTC)
#1
alex.brainman@gmail.com once said: > Build fails with > > # Checking API compatibility. > Error ...
11 years, 4 months ago
(2014-09-13 07:23:28 UTC)
#5
alex.brainman@gmail.com once said:
> Build fails with
>
> # Checking API compatibility.
> Error running API checker: exit status 1
> 2014/09/13 16:51:39 error typechecking package runtime:
> c:\go\root\src\runtime\netpoll_windows.go:22:4: undeclared name:
> overlapped (windows-amd64)
> exit status 1
>
> I don't understand why.
22s/overlapped/Overlapped/
Maybe Dmitriy forgot a file in this CL if
that type is supposed to be unexported.
Anthony
On 2014/09/13 07:23:28, ality wrote: > mailto:alex.brainman@gmail.com once said: > > Build fails with > ...
11 years, 4 months ago
(2014-09-13 10:58:07 UTC)
#6
On 2014/09/13 07:23:28, ality wrote:
> mailto:alex.brainman@gmail.com once said:
> > Build fails with
> >
> > # Checking API compatibility.
> > Error running API checker: exit status 1
> > 2014/09/13 16:51:39 error typechecking package runtime:
> > c:\go\root\src\runtime\netpoll_windows.go:22:4: undeclared name:
> > overlapped (windows-amd64)
> > exit status 1
> >
> > I don't understand why.
>
> 22s/overlapped/Overlapped/
>
> Maybe Dmitriy forgot a file in this CL if
> that type is supposed to be unexported.
>
"overlapped" is defined in zruntime_defs_windows_amd64.go, and is supposed to be
unexported. I don't see why API checker fails with "undeclared name:
overlapped".
Alex
Same thing I wrote on the other one: Why are we doing this now? Is ...
11 years, 4 months ago
(2014-09-13 18:06:46 UTC)
#9
Same thing I wrote on the other one:
Why are we doing this now? Is it fixing any bugs? I can't see that it is.
I thought the C to Go conversions were done for 1.4. Is this important
enough to make an exception? It needs to be solving an actual problem to be
worth the risk of modifying this code now.
R=close To the author of this CL: The Go project has moved to Gerrit Code ...
11 years, 1 month ago
(2014-12-19 05:13:06 UTC)
#10
R=close
To the author of this CL:
The Go project has moved to Gerrit Code Review.
If this CL should be continued, please see the latest version of
https://golang.org/doc/contribute.html for instructions on
how to set up Git and the Go project's Gerrit codereview plugin,
and then create a new change with your current code.
If there has been discussion on this CL, please give a link to it
(golang.org/cl/139620043 is best) in the description in your
new CL.
Thanks very much.
Issue 139620043: code review 139620043: runtime: convert windows netpoll to Go
Created 11 years, 4 months ago by dvyukov
Modified 11 years, 1 month ago
Reviewers:
Base URL:
Comments: 1