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

Issue 1591333002: Remove dependency on ConditionVariableWrapper and CriticalSectionWrapper in UdpSocketPosix. (Closed)

Created:
4 years, 11 months ago by tommi
Modified:
4 years, 11 months ago
Reviewers:
pbos-webrtc
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

Remove dependency on ConditionVariableWrapper and CriticalSectionWrapper in UdpSocketPosix. This is a part of cleaning up 'friend' parts of ConditionVariableWrapper's implementation where it accesses private variables of CriticalSectionWrapper, which is not good since it makes assumptions about the implementation on all posix platforms. Instead I'm using rtc::Event, another condition variable based implementation we have, and fits the requirements of UdpSocketPosix. BUG= R=pbos@webrtc.org Committed: https://crrev.com/2067826a5e2c433121dd5c3b846a71ba3e1987cf Cr-Commit-Position: refs/heads/master@{#11295}

Patch Set 1 #

Patch Set 2 : Fix hang #

Patch Set 3 : Remove unnecessary fwd decl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -40 lines) Patch
M webrtc/test/channel_transport/udp_socket_manager_posix.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/test/channel_transport/udp_socket_posix.h View 2 chunks +5 lines, -5 lines 0 comments Download
M webrtc/test/channel_transport/udp_socket_posix.cc View 1 4 chunks +18 lines, -32 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
tommi
4 years, 11 months ago (2016-01-16 18:02:50 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591333002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591333002/1
4 years, 11 months ago (2016-01-18 09:12:16 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_asan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_asan/builds/11895) linux_rel on ...
4 years, 11 months ago (2016-01-18 10:19:34 UTC) #6
tommi
Fix hang
4 years, 11 months ago (2016-01-18 14:10:31 UTC) #7
pbos-webrtc
lgtm
4 years, 11 months ago (2016-01-18 14:54:42 UTC) #8
pbos-webrtc
Feel free to remove: webrtc/test/channel_transport/udp_socket_manager_posix.h:27:class ConditionVariableWrapper; If possible with this.
4 years, 11 months ago (2016-01-18 14:55:29 UTC) #9
tommi
Remove unnecessary fwd decl
4 years, 11 months ago (2016-01-18 15:21:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591333002/40001
4 years, 11 months ago (2016-01-18 15:22:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/10386)
4 years, 11 months ago (2016-01-18 16:33:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1591333002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1591333002/40001
4 years, 11 months ago (2016-01-18 17:44:01 UTC) #17
tommi
Committed patchset #3 (id:40001) manually as 2067826a5e2c433121dd5c3b846a71ba3e1987cf (presubmit successful).
4 years, 11 months ago (2016-01-18 19:35:54 UTC) #19
commit-bot: I haz the power
4 years, 11 months ago (2016-01-18 19:35:56 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2067826a5e2c433121dd5c3b846a71ba3e1987cf
Cr-Commit-Position: refs/heads/master@{#11295}

Powered by Google App Engine
This is Rietveld 408576698