Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2563)

Issue 135090043: code review 135090043: runtime: allow to call stdcall from Go on windows (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by dvyukov
Modified:
9 years, 7 months ago
Reviewers:
aram, gobot, brainman, rsc
CC:
golang-codereviews, aram, dfc, iant, khr
Visibility:
Public.

Description

runtime: allow to call stdcall from Go on windows I've started with just one function with 8 arguments, but stdcall is called from nosplit functions and 8 args overflow nosplit area.

Patch Set 1 #

Patch Set 2 : diff -r 1b4900565b48d0f03f4f5263116b688fbeed75f8 https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r af98bb1ca0570de13d2e2daad9951629938bae07 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r af98bb1ca0570de13d2e2daad9951629938bae07 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r d999ebefa648465ac8e09a23763c0dda08b2a277 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r d999ebefa648465ac8e09a23763c0dda08b2a277 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r d999ebefa648465ac8e09a23763c0dda08b2a277 https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r d999ebefa648465ac8e09a23763c0dda08b2a277 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 9 : diff -r c37fc54f7e208062baa619ecc43197dff1448a2c https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -60 lines) Patch
M src/pkg/runtime/mem_windows.c View 1 2 3 4 7 chunks +8 lines, -8 lines 0 comments Download
M src/pkg/runtime/netpoll_windows.c View 1 2 3 4 5 5 chunks +5 lines, -5 lines 0 comments Download
M src/pkg/runtime/os_windows.h View 1 2 3 1 chunk +8 lines, -4 lines 0 comments Download
M src/pkg/runtime/os_windows.c View 1 2 3 4 5 17 chunks +117 lines, -43 lines 0 comments Download
M src/pkg/runtime/os_windows.go View 1 2 3 5 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12
dvyukov
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://go.googlecode.com/hg/
9 years, 7 months ago (2014-08-28 18:26:31 UTC) #1
dvyukov
Hello golang-codereviews@googlegroups.com (cc: alex.brainman@gmail.com, golang-codereviews@googlegroups.com, iant@golang.org, khr@golang.org, rsc@golang.org), Please take another look.
9 years, 7 months ago (2014-08-28 18:35:02 UTC) #2
aram
LGTM https://codereview.appspot.com/135090043/diff/140001/src/pkg/runtime/os_windows.c File src/pkg/runtime/os_windows.c (right): https://codereview.appspot.com/135090043/diff/140001/src/pkg/runtime/os_windows.c#newcode320 src/pkg/runtime/os_windows.c:320: stdcall(void *fn) Why not rewrite all these in ...
9 years, 7 months ago (2014-08-28 20:38:15 UTC) #3
dvyukov
On 2014/08/28 20:38:15, aram wrote: > LGTM > > https://codereview.appspot.com/135090043/diff/140001/src/pkg/runtime/os_windows.c > File src/pkg/runtime/os_windows.c (right): > ...
9 years, 7 months ago (2014-08-28 20:46:54 UTC) #4
brainman
LGTM Alex https://codereview.appspot.com/135090043/diff/140001/src/pkg/runtime/os_windows.c File src/pkg/runtime/os_windows.c (right): https://codereview.appspot.com/135090043/diff/140001/src/pkg/runtime/os_windows.c#newcode339 src/pkg/runtime/os_windows.c:339: { I would implement all these in ...
9 years, 7 months ago (2014-08-28 23:39:24 UTC) #5
dfc
nit: please fix the typo in the description. On 29 Aug 2014 09:39, <alex.brainman@gmail.com> wrote: ...
9 years, 7 months ago (2014-08-29 00:48:29 UTC) #6
dvyukov
On 2014/08/29 00:48:29, dfc wrote: > nit: please fix the typo in the description. done
9 years, 7 months ago (2014-08-29 08:39:49 UTC) #7
dvyukov
On 2014/08/28 23:39:24, brainman wrote: > LGTM > > Alex > > https://codereview.appspot.com/135090043/diff/140001/src/pkg/runtime/os_windows.c > File ...
9 years, 7 months ago (2014-08-29 08:42:18 UTC) #8
dvyukov
*** Submitted as https://code.google.com/p/go/source/detail?r=4b615799f98d *** runtime: allow to call stdcall from Go on windows I've ...
9 years, 7 months ago (2014-08-29 08:44:11 UTC) #9
gobot
This CL appears to have broken the netbsd-amd64-bsiegert builder. See http://build.golang.org/log/5e06fe65b00cae31091ba29d86763a7b254129ee
9 years, 7 months ago (2014-08-29 08:57:04 UTC) #10
brainman
On 2014/08/29 08:42:18, dvyukov wrote: > ... The problem is that the functions return value, ...
9 years, 7 months ago (2014-08-29 10:12:33 UTC) #11
rsc
9 years, 7 months ago (2014-08-29 14:18:47 UTC) #12
Message was sent while issue was closed.
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b