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

Issue 1303443003: Add helper class GuardedAsyncInvoker to protect against thread dying (Closed)

Created:
5 years, 4 months ago by magjed_webrtc
Modified:
5 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add helper class GuardedAsyncInvoker to protect against thread dying BUG=webrtc:4909 R=tommi@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/a1f590f3b6d317047d28b6568d1229973bb93f29

Patch Set 1 #

Patch Set 2 : Remove AttachToThread() functionality #

Total comments: 12

Patch Set 3 : tommi@s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -1 line) Patch
M webrtc/base/asyncinvoker.h View 1 2 1 chunk +81 lines, -1 line 0 comments Download
M webrtc/base/asyncinvoker.cc View 1 2 2 chunks +24 lines, -0 lines 0 comments Download
M webrtc/base/thread_unittest.cc View 1 2 1 chunk +176 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303443003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303443003/1
5 years, 4 months ago (2015-08-18 15:15:02 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_gn_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_gn_rel/builds/5018)
5 years, 4 months ago (2015-08-18 15:18:03 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303443003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303443003/40001
5 years, 4 months ago (2015-08-18 15:29:33 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_gn on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_gn/builds/5066) linux_gn_rel on ...
5 years, 4 months ago (2015-08-18 15:30:34 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303443003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303443003/60001
5 years, 4 months ago (2015-08-18 15:41:22 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/8888)
5 years, 4 months ago (2015-08-18 15:53:12 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303443003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303443003/80001
5 years, 4 months ago (2015-08-19 15:16:59 UTC) #17
magjed_webrtc
Please take a look.
5 years, 4 months ago (2015-08-19 17:02:50 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
5 years, 4 months ago (2015-08-19 17:17:08 UTC) #21
tommi (sloooow) - chröme
Great stuff. Really like the tests. https://codereview.webrtc.org/1303443003/diff/80001/webrtc/base/asyncinvoker.cc File webrtc/base/asyncinvoker.cc (right): https://codereview.webrtc.org/1303443003/diff/80001/webrtc/base/asyncinvoker.cc#newcode96 webrtc/base/asyncinvoker.cc:96: thread_ = nullptr; ...
5 years, 4 months ago (2015-08-19 20:01:54 UTC) #23
magjed_webrtc
Please take another look. https://codereview.webrtc.org/1303443003/diff/80001/webrtc/base/asyncinvoker.cc File webrtc/base/asyncinvoker.cc (right): https://codereview.webrtc.org/1303443003/diff/80001/webrtc/base/asyncinvoker.cc#newcode96 webrtc/base/asyncinvoker.cc:96: thread_ = nullptr; On 2015/08/19 ...
5 years, 4 months ago (2015-08-20 10:28:33 UTC) #24
tommi
lgtm!
5 years, 4 months ago (2015-08-20 12:39:11 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1303443003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1303443003/100001
5 years, 4 months ago (2015-08-20 13:16:36 UTC) #27
magjed_webrtc
5 years, 4 months ago (2015-08-20 14:42:56 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:100001) manually as
a1f590f3b6d317047d28b6568d1229973bb93f29 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698