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

Issue 12730043: code review 12730043: net: rearrange the call order of runtime-integrated net... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by mikio
Modified:
10 years, 8 months ago
Reviewers:
brainman
CC:
golang-dev, brainman
Visibility:
Public.

Description

net: rearrange the call order of runtime-integrated network pollster and syscall functions This CL rearranges the call order for raw networking primitives like the following; - For dialers that open active connections, pollDesc.Init will be called before syscall.Connect. - For stream listeners that open passive stream connections, pollDesc.Init will be called just after syscall.Listen. - For datagram listeners that open datagram connections, pollDesc.Init will be called just after syscall.Bind. This is in preparation for runtime-integrated network pollster for BSD variants. Update issue 5199

Patch Set 1 : diff -r 60eb79a2cd0f https://code.google.com/p/go #

Patch Set 2 : diff -r 60eb79a2cd0f https://code.google.com/p/go #

Patch Set 3 : diff -r e99621daceb3 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -16 lines) Patch
M src/pkg/net/sock_posix.go View 6 chunks +14 lines, -6 lines 0 comments Download
M src/pkg/net/tcpsock_posix.go View 1 chunk +0 lines, -5 lines 0 comments Download
M src/pkg/net/unixsock_posix.go View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 5
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 8 months ago (2013-08-15 03:01:16 UTC) #1
brainman
I would rather see you change one thing at a time. I loose track of ...
10 years, 8 months ago (2013-08-15 04:30:57 UTC) #2
mikio
On 2013/08/15 04:30:57, brainman wrote: > I would rather see you change one thing at ...
10 years, 8 months ago (2013-08-15 06:00:29 UTC) #3
brainman
LGTM I also tested it on windows-386 and windows-amd64. Fingers crossed. :-) Alex
10 years, 8 months ago (2013-08-15 07:12:42 UTC) #4
mikio
10 years, 8 months ago (2013-08-15 07:40:41 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=2b3a349b4b6c ***

net: rearrange the call order of runtime-integrated network pollster and syscall
functions

This CL rearranges the call order for raw networking primitives like
the following;

- For dialers that open active connections, pollDesc.Init will be
  called before syscall.Connect.

- For stream listeners that open passive stream connections,
  pollDesc.Init will be called just after syscall.Listen.

- For datagram listeners that open datagram connections,
  pollDesc.Init will be called just after syscall.Bind.

This is in preparation for runtime-integrated network pollster for BSD
variants.

Update issue 5199

R=golang-dev, alex.brainman
CC=golang-dev
https://codereview.appspot.com/12730043
Sign in to reply to this message.

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