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

Issue 1732863002: Break out pacer thread from CongestionController to increase testability. (Closed)

Created:
4 years, 10 months ago by stefan-webrtc
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, zhuangzesen_agora.io, tterriberry_mozilla.com, the sun, pbos-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Break out pacer thread from CongestionController to increase testability. R=pbos@webrtc.org TBR=mflodman@webrtc.org Committed: https://crrev.com/c379fcb2485744b3118b64981f6cf2e136e0263d Cr-Commit-Position: refs/heads/master@{#11745}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : Comments addressed. #

Patch Set 4 : Add to OWNERS. #

Patch Set 5 : Alphabetic order. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -16 lines) Patch
M webrtc/call/call.cc View 1 2 4 chunks +15 lines, -5 lines 1 comment Download
A + webrtc/modules/congestion_controller/OWNERS View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/congestion_controller/congestion_controller.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M webrtc/modules/congestion_controller/include/congestion_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/remote_bitrate_estimator/remote_estimator_proxy.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
stefan-webrtc
.
4 years, 10 months ago (2016-02-24 14:14:38 UTC) #1
stefan-webrtc
4 years, 10 months ago (2016-02-24 14:14:53 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1732863002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1732863002/20001
4 years, 10 months ago (2016-02-24 14:15:11 UTC) #5
pbos-webrtc
lgtm https://codereview.webrtc.org/1732863002/diff/20001/webrtc/call/call.cc File webrtc/call/call.cc (right): https://codereview.webrtc.org/1732863002/diff/20001/webrtc/call/call.cc#newcode225 webrtc/call/call.cc:225: pacer_thread_->Start(); Move to end of block so the ...
4 years, 10 months ago (2016-02-24 14:52:13 UTC) #6
stefan-webrtc
Add to OWNERS.
4 years, 10 months ago (2016-02-24 14:58:01 UTC) #7
stefan-webrtc
TBR mflodman for adding OWNERS file.
4 years, 10 months ago (2016-02-24 14:58:39 UTC) #10
stefan-webrtc
Alphabetic order.
4 years, 10 months ago (2016-02-24 14:59:28 UTC) #11
stefan-webrtc
Committed patchset #5 (id:80001) manually as c379fcb2485744b3118b64981f6cf2e136e0263d (presubmit successful).
4 years, 10 months ago (2016-02-24 15:03:12 UTC) #13
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/c379fcb2485744b3118b64981f6cf2e136e0263d Cr-Commit-Position: refs/heads/master@{#11745}
4 years, 10 months ago (2016-02-24 15:03:16 UTC) #15
the sun
4 years, 9 months ago (2016-02-29 10:36:30 UTC) #17
Message was sent while issue was closed.
Nice change, but the starting/stopping of the threads looks a little curious to
me.

https://codereview.webrtc.org/1732863002/diff/80001/webrtc/call/call.cc
File webrtc/call/call.cc (right):

https://codereview.webrtc.org/1732863002/diff/80001/webrtc/call/call.cc#newco...
webrtc/call/call.cc:227: module_process_thread_->Start();
Is there a reason to Start() before registering here, and the opposite for the
pacer_thread_? Maybe add a comment on why?

I see there is a similar, opposite pattern in the dtor; comment on that too.

Powered by Google App Engine
This is Rietveld 408576698