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

Issue 2378663006: Enable the FileDescriptorWatcher API on TYPE_IO AutoThreads. (Closed)

Created:
4 years, 2 months ago by fdoray
Modified:
4 years, 2 months ago
Reviewers:
Sergey Ulanov, Wez
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable the FileDescriptorWatcher API on TYPE_IO AutoThreads. With this CL, a FileDescriptorWatcher is instantiated on every remoting::AutoThread that runs a MessageLoopForIO. This allows FileDescriptorWatcher::WatchReadable/WatchWritable to be used on these threads. BUG=645114 Committed: https://crrev.com/968e64e3e26c7fa23b147572b04f5bf91c84a404 Cr-Commit-Position: refs/heads/master@{#422208}

Patch Set 1 #

Patch Set 2 : fix build error #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M remoting/base/auto_thread.cc View 1 3 chunks +16 lines, -0 lines 1 comment Download

Dependent Patchsets:

Messages

Total messages: 21 (14 generated)
fdoray
PTAL This change is very similar to https://codereview.chromium.org/2372583002
4 years, 2 months ago (2016-09-29 14:58:29 UTC) #5
fdoray
segeyu@: PTAL (wez OOO)
4 years, 2 months ago (2016-09-30 19:23:13 UTC) #13
Sergey Ulanov
lgtm
4 years, 2 months ago (2016-09-30 19:45:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2378663006/20001
4 years, 2 months ago (2016-09-30 20:08:37 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-30 20:34:48 UTC) #18
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/968e64e3e26c7fa23b147572b04f5bf91c84a404 Cr-Commit-Position: refs/heads/master@{#422208}
4 years, 2 months ago (2016-09-30 20:37:50 UTC) #20
Wez
4 years, 2 months ago (2016-10-04 00:58:06 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/2378663006/diff/20001/remoting/base/auto_thre...
File remoting/base/auto_thread.cc (right):

https://codereview.chromium.org/2378663006/diff/20001/remoting/base/auto_thre...
remoting/base/auto_thread.cc:214: if (startup_data_->loop_type ==
base::MessageLoop::TYPE_IO) {
You shouldn't access startup_data_ here, since you just signalled the event to
unlock it.  You either need to move this block before the Signal(), or just use
message_loop.type() here.

Powered by Google App Engine
This is Rietveld 408576698