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

Issue 936283002: Oops, calling {Producer,Consumer}CloseImplNoLock() isn't the same as calling {Producer,Consumer}Clo… (Closed)

Created:
5 years, 10 months ago by viettrungluu
Modified:
5 years, 10 months ago
Reviewers:
yzshen1
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Oops, calling {Producer,Consumer}CloseImplNoLock() isn't the same as calling {Producer,Consumer}Close(). In particular, we need to wake up any waiters when we go away. (We'll need this when serializing for real also.) R=yzshen@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/0e2a3b700db35890978b6e0c3b30acab6f76e76a

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -24 lines) Patch
M mojo/edk/system/data_pipe.h View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/edk/system/data_pipe.cc View 3 chunks +32 lines, -22 lines 2 comments Download
M mojo/edk/system/local_data_pipe.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
viettrungluu
https://codereview.chromium.org/936173002/ now depends on this.
5 years, 10 months ago (2015-02-18 23:33:47 UTC) #1
yzshen1
https://codereview.chromium.org/936283002/diff/1/mojo/edk/system/data_pipe.cc File mojo/edk/system/data_pipe.cc (right): https://codereview.chromium.org/936283002/diff/1/mojo/edk/system/data_pipe.cc#newcode494 mojo/edk/system/data_pipe.cc:494: ProducerCloseImplNoLock(); I feel that usually XXXImpl should do all ...
5 years, 10 months ago (2015-02-19 18:07:50 UTC) #2
viettrungluu
On 2015/02/19 18:07:50, yzshen1 wrote: > https://codereview.chromium.org/936283002/diff/1/mojo/edk/system/data_pipe.cc > File mojo/edk/system/data_pipe.cc (right): > > https://codereview.chromium.org/936283002/diff/1/mojo/edk/system/data_pipe.cc#newcode494 > ...
5 years, 10 months ago (2015-02-19 18:23:51 UTC) #3
yzshen1
lgtm
5 years, 10 months ago (2015-02-19 18:25:02 UTC) #4
viettrungluu
On 2015/02/19 18:23:51, viettrungluu wrote: > On 2015/02/19 18:07:50, yzshen1 wrote: > > https://codereview.chromium.org/936283002/diff/1/mojo/edk/system/data_pipe.cc > ...
5 years, 10 months ago (2015-02-19 18:25:27 UTC) #5
viettrungluu
5 years, 10 months ago (2015-02-19 18:27:12 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0e2a3b700db35890978b6e0c3b30acab6f76e76a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698