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

Issue 2710213003: Add thread-checking to TransportFeedbackAdapter (Closed)

Created:
3 years, 10 months ago by elad.alon
Modified:
3 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add thread-checking to TransportFeedbackAdapter. BUG=None

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2 lines) Patch
M webrtc/modules/congestion_controller/transport_feedback_adapter.h View 1 1 chunk +14 lines, -0 lines 0 comments Download
M webrtc/modules/congestion_controller/transport_feedback_adapter.cc View 1 6 chunks +16 lines, -2 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (6 generated)
elad.alon_webrtc.org
Ready for review.
3 years, 10 months ago (2017-02-23 14:05:16 UTC) #2
minyue-webrtc
I don't have enough background to judge. should it be thread checker or lock?
3 years, 10 months ago (2017-02-23 14:13:38 UTC) #4
elad.alon_webrtc.org
On 2017/02/23 14:13:38, minyue-webrtc wrote: > I don't have enough background to judge. should it ...
3 years, 10 months ago (2017-02-23 14:14:48 UTC) #5
elad.alon_webrtc.org
On 2017/02/23 14:14:48, elad.alon wrote: > On 2017/02/23 14:13:38, minyue-webrtc wrote: > > I don't ...
3 years, 10 months ago (2017-02-23 14:16:49 UTC) #6
minyue-webrtc
https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h File webrtc/modules/congestion_controller/transport_feedback_adapter.h (right): https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h#newcode76 webrtc/modules/congestion_controller/transport_feedback_adapter.h:76: rtc::ThreadChecker last_packet_feedback_vector_thread_checker_; one cannot bind a thread checker to ...
3 years, 10 months ago (2017-02-23 14:45:51 UTC) #7
elad.alon_webrtc.org
https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h File webrtc/modules/congestion_controller/transport_feedback_adapter.h (right): https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h#newcode76 webrtc/modules/congestion_controller/transport_feedback_adapter.h:76: rtc::ThreadChecker last_packet_feedback_vector_thread_checker_; On 2017/02/23 14:45:51, minyue-webrtc wrote: > one ...
3 years, 10 months ago (2017-02-23 14:52:01 UTC) #8
minyue-webrtc
On 2017/02/23 14:52:01, elad.alon wrote: > https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h > File webrtc/modules/congestion_controller/transport_feedback_adapter.h (right): > > https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h#newcode76 > ...
3 years, 10 months ago (2017-02-23 15:05:18 UTC) #9
elad.alon_webrtc.org
On 2017/02/23 15:05:18, minyue-webrtc wrote: > On 2017/02/23 14:52:01, elad.alon wrote: > > > https://codereview.webrtc.org/2710213003/diff/1/webrtc/modules/congestion_controller/transport_feedback_adapter.h ...
3 years, 10 months ago (2017-02-23 15:13:23 UTC) #10
stefan-webrtc
looks good, but maybe we should remove one of them? https://codereview.webrtc.org/2710213003/diff/20001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2710213003/diff/20001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode75 ...
3 years, 10 months ago (2017-02-24 14:48:54 UTC) #12
elad.alon_webrtc.org
https://codereview.webrtc.org/2710213003/diff/20001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc File webrtc/modules/congestion_controller/transport_feedback_adapter.cc (right): https://codereview.webrtc.org/2710213003/diff/20001/webrtc/modules/congestion_controller/transport_feedback_adapter.cc#newcode75 webrtc/modules/congestion_controller/transport_feedback_adapter.cc:75: RTC_DCHECK(packetizer_thread_checker_.CalledOnValidThread()); On 2017/02/24 14:48:53, stefan-webrtc wrote: > Maybe the ...
3 years, 9 months ago (2017-02-27 10:55:30 UTC) #13
michaelt
What is the value of adding ThreadChecker's, if we have already locks to protect the ...
3 years, 9 months ago (2017-02-27 11:29:50 UTC) #14
elad.alon_webrtc.org
On 2017/02/27 11:29:50, michaelt wrote: > What is the value of adding ThreadChecker's, if we ...
3 years, 9 months ago (2017-02-27 11:36:10 UTC) #15
michaelt
1. Ok, then we can do ThreadChecker for OnTransportFeedback and GetTransportFeedbackVector. 2. I'm not sure ...
3 years, 9 months ago (2017-02-27 13:13:09 UTC) #16
stefan-webrtc
Since this is a fairly complicated class with many threads involved I think this makes ...
3 years, 9 months ago (2017-02-27 13:24:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2710213003/20001
3 years, 9 months ago (2017-03-03 13:41:40 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/23828)
3 years, 9 months ago (2017-03-03 14:00:20 UTC) #22
elad.alon_webrtc.org
3 years, 9 months ago (2017-03-03 18:20:32 UTC) #23
On 2017/03/03 14:00:20, commit-bot: I haz the power wrote:
> Try jobs failed on following builders:
>   linux_rel on master.tryserver.webrtc (JOB_FAILED,
> http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/23828)

Having spoken to Stefan about the problems this introduces for unit-tests, we've
decided it's not worth the effort, and we'll scrap it.

Powered by Google App Engine
This is Rietveld 408576698