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

Issue 1988563002: Create a reader-writer lock implementaiton in base. (Closed)

Created:
4 years, 7 months ago by Anand Mistry (off Chromium)
Modified:
4 years, 6 months ago
Reviewers:
danakj
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a reader-writer lock implementaiton in base. Committed: https://crrev.com/df6b66eec33d69c0d321e22a10740738fccf2dd7 Cr-Commit-Position: refs/heads/master@{#397034}

Patch Set 1 #

Patch Set 2 : Simple-stupid implementaiton for NaCl #

Total comments: 20

Patch Set 3 : Address comments #

Patch Set 4 : Update include guard. #

Patch Set 5 : rebase and fix tsan #

Patch Set 6 : move to base::subtle and add a warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+461 lines, -0 lines) Patch
M base/BUILD.gn View 1 2 3 4 4 chunks +7 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gypi View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
A base/synchronization/read_write_lock.h View 1 2 3 4 5 1 chunk +105 lines, -0 lines 0 comments Download
A base/synchronization/read_write_lock_nacl.cc View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download
A base/synchronization/read_write_lock_posix.cc View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A base/synchronization/read_write_lock_unittest.cc View 1 2 3 4 5 1 chunk +223 lines, -0 lines 0 comments Download
A base/synchronization/read_write_lock_win.cc View 1 2 3 4 5 1 chunk +31 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (3 generated)
Anand Mistry (off Chromium)
WDYT?
4 years, 7 months ago (2016-05-18 00:26:07 UTC) #2
danakj
Seems useful, and like something we want for MessageLoop based on https://codereview.chromium.org/1991623002/. Few comments. https://codereview.chromium.org/1988563002/diff/20001/base/synchronization/rw_lock.h ...
4 years, 7 months ago (2016-05-19 23:01:37 UTC) #3
Anand Mistry (off Chromium)
https://codereview.chromium.org/1988563002/diff/20001/base/synchronization/rw_lock.h File base/synchronization/rw_lock.h (right): https://codereview.chromium.org/1988563002/diff/20001/base/synchronization/rw_lock.h#newcode25 base/synchronization/rw_lock.h:25: class BASE_EXPORT RWLock { On 2016/05/19 23:01:36, danakj wrote: ...
4 years, 7 months ago (2016-05-20 04:06:39 UTC) #4
Anand Mistry (off Chromium)
I'm a little bit concerned about people using this in places it's unnecessary (i.e. there's ...
4 years, 7 months ago (2016-05-20 05:16:55 UTC) #5
Anand Mistry (off Chromium)
On 2016/05/20 05:16:55, Anand Mistry wrote: > I'm a little bit concerned about people using ...
4 years, 6 months ago (2016-05-25 23:37:30 UTC) #6
danakj
On Wed, May 25, 2016 at 4:37 PM, <amistry@chromium.org> wrote: > On 2016/05/20 05:16:55, Anand ...
4 years, 6 months ago (2016-05-25 23:44:06 UTC) #7
Anand Mistry (off Chromium)
On 2016/05/25 23:44:06, danakj wrote: > On Wed, May 25, 2016 at 4:37 PM, <mailto:amistry@chromium.org> ...
4 years, 6 months ago (2016-05-26 01:32:58 UTC) #8
danakj
LGTM
4 years, 6 months ago (2016-05-31 22:10:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988563002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988563002/100001
4 years, 6 months ago (2016-06-01 00:24:51 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-01 02:52:55 UTC) #12
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 02:54:06 UTC) #14
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/df6b66eec33d69c0d321e22a10740738fccf2dd7
Cr-Commit-Position: refs/heads/master@{#397034}

Powered by Google App Engine
This is Rietveld 408576698