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

Issue 1606993002: Remove use of ConditionVariableWrapper and CriticalSectionWrapper from UdpSocket2Windows. (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 use of ConditionVariableWrapper and CriticalSectionWrapper from UdpSocket2Windows. This helps with untangling CriticalSectionWrapper from ConditionVariableWrapper and looks like we can just delete ConditionVariableWrapper and use rtc::Event instead. BUG= R=pbos@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/f01ea4f847380ede23131412d8f730da7c33244c

Patch Set 1 #

Patch Set 2 : Remove criticalsection header #

Total comments: 3

Patch Set 3 : Remove unnecessary variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -33 lines) Patch
M webrtc/test/channel_transport/udp_socket2_win.h View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M webrtc/test/channel_transport/udp_socket2_win.cc View 1 2 6 chunks +5 lines, -26 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
tommi
Remove criticalsection header
4 years, 11 months ago (2016-01-19 17:13:33 UTC) #1
tommi
4 years, 11 months ago (2016-01-19 17:13:52 UTC) #3
pbos-webrtc
https://codereview.webrtc.org/1606993002/diff/20001/webrtc/test/channel_transport/udp_socket2_win.cc File webrtc/test/channel_transport/udp_socket2_win.cc (right): https://codereview.webrtc.org/1606993002/diff/20001/webrtc/test/channel_transport/udp_socket2_win.cc#newcode1304 webrtc/test/channel_transport/udp_socket2_win.cc:1304: if (!_safeTodelete) Racy read, this was protected by the ...
4 years, 11 months ago (2016-01-19 20:36:51 UTC) #4
pbos-webrtc
lgtm with proposed fix (removed _safeToDelete) https://codereview.webrtc.org/1606993002/diff/20001/webrtc/test/channel_transport/udp_socket2_win.cc File webrtc/test/channel_transport/udp_socket2_win.cc (right): https://codereview.webrtc.org/1606993002/diff/20001/webrtc/test/channel_transport/udp_socket2_win.cc#newcode1304 webrtc/test/channel_transport/udp_socket2_win.cc:1304: if (!_safeTodelete) OTOH, ...
4 years, 11 months ago (2016-01-19 20:41:09 UTC) #5
tommi
Remove unnecessary variable
4 years, 11 months ago (2016-01-19 21:06:13 UTC) #6
tommi
https://codereview.webrtc.org/1606993002/diff/20001/webrtc/test/channel_transport/udp_socket2_win.cc File webrtc/test/channel_transport/udp_socket2_win.cc (right): https://codereview.webrtc.org/1606993002/diff/20001/webrtc/test/channel_transport/udp_socket2_win.cc#newcode1304 webrtc/test/channel_transport/udp_socket2_win.cc:1304: if (!_safeTodelete) On 2016/01/19 20:41:09, pbos-webrtc wrote: > OTOH, ...
4 years, 11 months ago (2016-01-19 21:06:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606993002/40001
4 years, 11 months ago (2016-01-19 21:06:41 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f01ea4f847380ede23131412d8f730da7c33244c Cr-Commit-Position: refs/heads/master@{#11309}
4 years, 11 months ago (2016-01-19 21:50:09 UTC) #12
tommi
4 years, 11 months ago (2016-01-19 21:50:11 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
f01ea4f847380ede23131412d8f730da7c33244c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698