Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 26703008: [NaCl SDK] nacl_io: Add support for non-blocking connect/accept (Closed)

Created:
7 years, 2 months ago by Sam Clegg
Modified:
7 years, 2 months ago
Reviewers:
noelallen1, binji
CC:
chromium-reviews, binji
Visibility:
Public.

Description

[NaCl SDK] nacl_io: Add support for non-blocking connect/accept Move the socket calls that depend on the handle state into kernel_handle.h/cc. TEST=new unittest + libcurl and thttpd from naclports BUG= R=noelallen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228290

Patch Set 1 #

Patch Set 2 : move socket calls to kernel_handle #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : rebase #

Patch Set 5 : remove debugging #

Patch Set 6 : #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -104 lines) Patch
M native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h View 1 1 chunk +2 lines, -1 line 2 comments Download
M native_client_sdk/src/libraries/nacl_io/event_emitter_stream.h View 1 chunk +3 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/event_emitter_stream.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/event_emitter_tcp.h View 1 2 3 4 5 2 chunks +12 lines, -1 line 1 comment Download
M native_client_sdk/src/libraries/nacl_io/event_emitter_tcp.cc View 1 2 3 4 5 2 chunks +15 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/event_emitter_tty.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M native_client_sdk/src/libraries/nacl_io/event_emitter_udp.h View 1 1 chunk +2 lines, -1 line 1 comment Download
M native_client_sdk/src/libraries/nacl_io/kernel_handle.h View 1 2 2 chunks +25 lines, -9 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_handle.cc View 1 2 5 chunks +85 lines, -14 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc View 1 2 7 chunks +45 lines, -37 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_socket.h View 2 chunks +7 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_socket.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_stream.h View 1 chunk +3 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_tcp.h View 2 chunks +12 lines, -4 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_tcp.cc View 1 2 3 4 5 9 chunks +188 lines, -25 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_udp.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M native_client_sdk/src/libraries/nacl_io/mount_node_udp.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc View 5 chunks +92 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sam Clegg
Still have some dbgprintfs in here to remove, but thought I'd send this out for ...
7 years, 2 months ago (2013-10-11 18:09:31 UTC) #1
noelallen1
Quick look comments. I'm getting the feeling that we may want to slit more stuff ...
7 years, 2 months ago (2013-10-11 19:20:24 UTC) #2
Sam Clegg
I'd really like to land this before any major refactor since its the final piece ...
7 years, 2 months ago (2013-10-11 20:56:00 UTC) #3
Sam Clegg
Removed debugging statements.
7 years, 2 months ago (2013-10-11 22:02:35 UTC) #4
noelallen1
LGTM https://codereview.chromium.org/26703008/diff/53001/native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h File native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h (right): https://codereview.chromium.org/26703008/diff/53001/native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h#newcode35 native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h:35: FIFOChar fifo_; Should remove in_fifo, out_fifo if they ...
7 years, 2 months ago (2013-10-12 00:13:29 UTC) #5
Sam Clegg
https://codereview.chromium.org/26703008/diff/53001/native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h File native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h (right): https://codereview.chromium.org/26703008/diff/53001/native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h#newcode35 native_client_sdk/src/libraries/nacl_io/event_emitter_pipe.h:35: FIFOChar fifo_; On 2013/10/12 00:13:29, noelallen1 wrote: > Should ...
7 years, 2 months ago (2013-10-12 00:24:11 UTC) #6
Sam Clegg
7 years, 2 months ago (2013-10-12 00:26:51 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r228290 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698