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

Issue 2709603002: Fix potential deadlock in TaskQueue's libevent PostTaskAndReply implementation (Closed)

Created:
3 years, 10 months ago by tommi
Modified:
3 years, 10 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix potential deadlock in TaskQueue's libevent PostTaskAndReply implementation BUG=webrtc:7188 Review-Url: https://codereview.webrtc.org/2709603002 Cr-Commit-Position: refs/heads/master@{#16786} Committed: https://chromium.googlesource.com/external/webrtc/+/8c80c6e389d235d259a39e0114316447aa228092

Patch Set 1 #

Patch Set 2 : Revert webrtc.gni #

Patch Set 3 : Retain the correct (reply) queue on Mac for PostTaskAndReply #

Patch Set 4 : Add missing include #

Total comments: 2

Patch Set 5 : Update comment #

Total comments: 14

Patch Set 6 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -55 lines) Patch
M webrtc/base/task_queue.h View 3 chunks +9 lines, -3 lines 0 comments Download
M webrtc/base/task_queue_gcd.cc View 1 2 3 4 5 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/task_queue_libevent.cc View 1 2 3 4 5 8 chunks +111 lines, -36 lines 0 comments Download
M webrtc/base/task_queue_unittest.cc View 1 2 3 4 5 9 chunks +24 lines, -10 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
tommi
Revert webrtc.gni
3 years, 10 months ago (2017-02-20 22:35:44 UTC) #1
tommi
3 years, 10 months ago (2017-02-20 22:36:09 UTC) #3
tommi
On 2017/02/20 22:36:09, tommi (webrtc) wrote: eh, looks like the trybots are blushing. I'll ping ...
3 years, 10 months ago (2017-02-20 22:41:09 UTC) #8
tommi
Retain the correct (reply) queue on Mac for PostTaskAndReply
3 years, 10 months ago (2017-02-21 09:04:34 UTC) #9
tommi
Add missing include
3 years, 10 months ago (2017-02-21 10:49:26 UTC) #10
tommi
OK, Taylor - please take a look
3 years, 10 months ago (2017-02-21 13:04:29 UTC) #15
Taylor Brandstetter
If you're going with the ref-counted approach, this seems more complex than it needs to ...
3 years, 10 months ago (2017-02-21 20:24:45 UTC) #16
tommi
Update comment
3 years, 10 months ago (2017-02-21 21:45:24 UTC) #17
tommi
On 2017/02/21 20:24:45, Taylor Brandstetter wrote: > If you're going with the ref-counted approach, this ...
3 years, 10 months ago (2017-02-21 21:45:45 UTC) #18
tommi
https://codereview.webrtc.org/2709603002/diff/60001/webrtc/base/task_queue_libevent.cc File webrtc/base/task_queue_libevent.cc (right): https://codereview.webrtc.org/2709603002/diff/60001/webrtc/base/task_queue_libevent.cc#newcode97 webrtc/base/task_queue_libevent.cc:97: // * The ReplyTaskOwner owns the reply_ task. On ...
3 years, 10 months ago (2017-02-21 21:45:57 UTC) #19
Taylor Brandstetter
https://codereview.webrtc.org/2709603002/diff/80001/webrtc/base/task_queue_libevent.cc File webrtc/base/task_queue_libevent.cc (right): https://codereview.webrtc.org/2709603002/diff/80001/webrtc/base/task_queue_libevent.cc#newcode36 webrtc/base/task_queue_libevent.cc:36: // We can run into that situation and handle ...
3 years, 10 months ago (2017-02-22 00:24:28 UTC) #20
tommi
Address comments
3 years, 10 months ago (2017-02-22 12:43:44 UTC) #21
tommi
https://codereview.webrtc.org/2709603002/diff/80001/webrtc/base/task_queue_libevent.cc File webrtc/base/task_queue_libevent.cc (right): https://codereview.webrtc.org/2709603002/diff/80001/webrtc/base/task_queue_libevent.cc#newcode36 webrtc/base/task_queue_libevent.cc:36: // We can run into that situation and handle ...
3 years, 10 months ago (2017-02-22 12:43:54 UTC) #23
Taylor Brandstetter
lgtm
3 years, 10 months ago (2017-02-23 02:26:19 UTC) #24
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/2709603002/100001
3 years, 10 months ago (2017-02-23 07:45:54 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 08:34:56 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/external/webrtc/+/8c80c6e389d235d259a39e011...

Powered by Google App Engine
This is Rietveld 408576698