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

Issue 19271009: [NaCl SDK} Add EventListener and EventEmitter to support epoll. (Closed)

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

Description

Add EventListener and EventEmitter to support epoll. NOTRY=true BUG=257723 R=binji@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213030

Patch Set 1 #

Patch Set 2 : Additional cleanup #

Patch Set 3 : Fix signal fill bug #

Patch Set 4 : remove extra mutex #

Total comments: 128

Patch Set 5 : Fix SBC nits. #

Patch Set 6 : Fixes for binji #

Patch Set 7 : 'Fix mount/node release order bug' #

Patch Set 8 : Remove extra line #

Patch Set 9 : Missing stdint for windows #

Total comments: 10

Patch Set 10 : Fix nits and missing unregister #

Patch Set 11 : Fix test #

Patch Set 12 : 'Add usec since epoch' #

Patch Set 13 : Add missing ostime.h #

Patch Set 14 : use osunistd instead of unistd #

Patch Set 15 : Fix NOTHROW #

Patch Set 16 : Fix osstat for Windows #

Patch Set 17 : Fix osstat #

Patch Set 18 : Merge namesapce #

Patch Set 19 : IFSOCK #

Patch Set 20 : Move sys time to avoid windows. #

Patch Set 21 : Remerge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+986 lines, -6 lines) Patch
M native_client_sdk/src/build_tools/sdk_files.list View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +5 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io/event_emitter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +103 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io/event_emitter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +59 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io/event_listener.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +149 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io/event_listener.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +243 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +7 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +9 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +6 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/kernel_wrap_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +13 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/library.dsc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io/osstat.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io/ostime.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +26 lines, -0 lines 0 comments Download
A native_client_sdk/src/libraries/nacl_io_test/event_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +359 lines, -0 lines 0 comments Download
M native_client_sdk/src/libraries/nacl_io_test/example.dsc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
noelallen1
PTAL, you might want to start with the info in event_listener.h and go from there.
7 years, 5 months ago (2013-07-17 16:24:19 UTC) #1
Sam Clegg
m https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc File native_client_sdk/src/libraries/nacl_io/event_emitter.cc (right): https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc#newcode4 native_client_sdk/src/libraries/nacl_io/event_emitter.cc:4: */ C++ comments. https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc#newcode7 native_client_sdk/src/libraries/nacl_io/event_emitter.cc:7: #include "nacl_io/event_emitter.h" I ...
7 years, 5 months ago (2013-07-17 17:34:56 UTC) #2
noelallen1
Leaving out C++ comment style and include order since they are consistent with the rest ...
7 years, 5 months ago (2013-07-17 21:00:18 UTC) #3
binji
https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc File native_client_sdk/src/libraries/nacl_io/event_emitter.cc (right): https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc#newcode52 native_client_sdk/src/libraries/nacl_io/event_emitter.cc:52: // Provided to allow one EventEmitter to register the ...
7 years, 5 months ago (2013-07-17 22:23:20 UTC) #4
noelallen1
Fixed Mount/Node release order issue in KernelHandle. https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc File native_client_sdk/src/libraries/nacl_io/event_emitter.cc (right): https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.cc#newcode52 native_client_sdk/src/libraries/nacl_io/event_emitter.cc:52: // Provided ...
7 years, 5 months ago (2013-07-18 22:18:15 UTC) #5
binji
nice. lgtm (with nits, of course!) https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.h File native_client_sdk/src/libraries/nacl_io/event_emitter.h (right): https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.h#newcode18 native_client_sdk/src/libraries/nacl_io/event_emitter.h:18: class EventInfo; On ...
7 years, 5 months ago (2013-07-19 20:47:17 UTC) #6
noelallen1
https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.h File native_client_sdk/src/libraries/nacl_io/event_emitter.h (right): https://codereview.chromium.org/19271009/diff/7001/native_client_sdk/src/libraries/nacl_io/event_emitter.h#newcode18 native_client_sdk/src/libraries/nacl_io/event_emitter.h:18: class EventInfo; On 2013/07/19 20:47:17, binji wrote: > On ...
7 years, 5 months ago (2013-07-19 21:35:43 UTC) #7
noelallen1
7 years, 5 months ago (2013-07-23 02:19:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #21 manually as r213030 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698