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

Issue 55500044: code review 55500044: runtime: refactor level-triggered IO support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by dvyukov
Modified:
11 years, 4 months ago
Reviewers:
rsc
CC:
golang-codereviews, dave_cheney.net, rsc
Visibility:
Public.

Description

runtime: refactor level-triggered IO support Remove GOOS_solaris ifdef from netpoll code, instead introduce runtime edge/level triggered IO flag. Replace armread/armwrite with a single arm(mode) function, that's how all other interfaces look like and these functions will need to do roughly the same thing anyway.

Patch Set 1 #

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

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

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -15 lines) Patch
M src/pkg/runtime/netpoll.goc View 1 2 3 4 5 2 chunks +5 lines, -13 lines 0 comments Download
M src/pkg/runtime/netpoll_epoll.c View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/runtime/netpoll_kqueue.c View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/runtime/netpoll_windows.c View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 7
dvyukov
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years, 5 months ago (2014-01-22 07:54:12 UTC) #1
dave_cheney.net
On 2014/01/22 07:54:12, dvyukov wrote: > Hello mailto:golang-codereviews@googlegroups.com, > > I'd like you to review ...
11 years, 5 months ago (2014-02-05 22:49:15 UTC) #2
dvyukov
On 2014/02/05 22:49:15, dfc wrote: > On 2014/01/22 07:54:12, dvyukov wrote: > > Hello mailto:golang-codereviews@googlegroups.com, ...
11 years, 4 months ago (2014-02-06 14:50:34 UTC) #3
dave_cheney.net
> On 7 Feb 2014, at 1:50, dvyukov@google.com wrote: > >> On 2014/02/05 22:49:15, dfc ...
11 years, 4 months ago (2014-02-06 19:47:18 UTC) #4
dvyukov
It's enum in runtime.h On Thu, Feb 6, 2014 at 11:47 PM, Dave Cheney <dave@cheney.net> ...
11 years, 4 months ago (2014-02-06 19:53:28 UTC) #5
rsc
LGTM
11 years, 4 months ago (2014-02-12 18:00:27 UTC) #6
dvyukov
11 years, 4 months ago (2014-02-12 18:24:48 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=cc6826ec23c7 ***

runtime: refactor level-triggered IO support
Remove GOOS_solaris ifdef from netpoll code,
instead introduce runtime edge/level triggered IO flag.
Replace armread/armwrite with a single arm(mode) function,
that's how all other interfaces look like and these functions
will need to do roughly the same thing anyway.

LGTM=rsc
R=golang-codereviews, dave, rsc
CC=golang-codereviews
https://codereview.appspot.com/55500044
Sign in to reply to this message.

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