|
|
DescriptionEnable 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
Dependent Patchsets: Messages
Total messages: 21 (14 generated)
Description was changed from ========== Enable the FileDescriptorWatcher API on MessageLoopForIO threads. With this CL, a FileDescriptorWatcher is instantiated on every base::Thread that runs a MessageLoopForIO. This allows FileDescriptorWatcher::WatchReadable/WatchWritable to be used on these threads. BUG=645114 ========== to ========== 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 ==========
The CQ bit was checked by fdoray@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
fdoray@chromium.org changed reviewers: + wez@chromium.org
PTAL This change is very similar to https://codereview.chromium.org/2372583002
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by fdoray@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
fdoray@chromium.org changed reviewers: + sergeyu@chromium.org
segeyu@: PTAL (wez OOO)
lgtm
The CQ bit was checked by fdoray@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/968e64e3e26c7fa23b147572b04f5bf91c84a404 Cr-Commit-Position: refs/heads/master@{#422208}
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. |