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

Issue 2708433002: Replace the stop_event_ in PlatformThread with an atomic flag (Closed)

Created:
3 years, 10 months ago by tommi
Modified:
3 years, 10 months ago
Reviewers:
the sun
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace the stop_event_ in PlatformThread with an atomic flag BUG=webrtc:7187 Review-Url: https://codereview.webrtc.org/2708433002 Cr-Commit-Position: refs/heads/master@{#16705} Committed: https://chromium.googlesource.com/external/webrtc/+/82ead60076bbe74b47f2491a1af6e09c7641dec4

Patch Set 1 #

Patch Set 2 : Update ProcessThreadImpl tests to not always return 0. Guessing it may be causing bot problems #

Total comments: 1

Patch Set 3 : Add sleep/yield + TODO #

Patch Set 4 : Now hitting 'save' before committing the TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -20 lines) Patch
M webrtc/base/platform_thread.h View 1 chunk +7 lines, -6 lines 0 comments Download
M webrtc/base/platform_thread.cc View 1 2 3 4 chunks +20 lines, -11 lines 0 comments Download
M webrtc/modules/utility/source/process_thread_impl_unittest.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (18 generated)
tommi
3 years, 10 months ago (2017-02-18 21:23:54 UTC) #2
tommi
Update ProcessThreadImpl tests to not always return 0. Guessing it may be causing bot problems
3 years, 10 months ago (2017-02-18 23:01:50 UTC) #7
tommi
Update ProcessThreadImpl tests to not always return 0. Guessing it may be causing bot problems
3 years, 10 months ago (2017-02-18 23:07:55 UTC) #8
the sun
https://codereview.webrtc.org/2708433002/diff/40001/webrtc/base/platform_thread.cc File webrtc/base/platform_thread.cc (right): https://codereview.webrtc.org/2708433002/diff/40001/webrtc/base/platform_thread.cc#newcode203 webrtc/base/platform_thread.cc:203: #else Do we want to give up the reminder ...
3 years, 10 months ago (2017-02-18 23:18:25 UTC) #10
the sun
On 2017/02/18 23:18:25, the sun wrote: > https://codereview.webrtc.org/2708433002/diff/40001/webrtc/base/platform_thread.cc > File webrtc/base/platform_thread.cc (right): > > https://codereview.webrtc.org/2708433002/diff/40001/webrtc/base/platform_thread.cc#newcode203 ...
3 years, 10 months ago (2017-02-18 23:34:19 UTC) #11
tommi
On 2017/02/18 23:34:19, the sun wrote: > On 2017/02/18 23:18:25, the sun wrote: > > ...
3 years, 10 months ago (2017-02-19 09:45:43 UTC) #12
tommi
Add sleep/yield + TODO
3 years, 10 months ago (2017-02-19 10:57:48 UTC) #13
tommi
Now hitting 'save' before committing the TODO
3 years, 10 months ago (2017-02-19 11:45:23 UTC) #19
the sun
On 2017/02/19 09:45:43, tommi (webrtc) wrote: > On 2017/02/18 23:34:19, the sun wrote: > > ...
3 years, 10 months ago (2017-02-19 23:25:00 UTC) #24
the sun
lgtm - Do you "know" if nanosleep() will actually give up time slice (docs I ...
3 years, 10 months ago (2017-02-19 23:28:49 UTC) #25
tommi
On 2017/02/19 23:28:49, the sun wrote: > lgtm > > - Do you "know" if ...
3 years, 10 months ago (2017-02-20 00:06:50 UTC) #26
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/2708433002/80001
3 years, 10 months ago (2017-02-20 00:07:03 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 00:09:59 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/external/webrtc/+/82ead60076bbe74b47f2491a1...

Powered by Google App Engine
This is Rietveld 408576698