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

Issue 623863002: Implement pthread_rwlock functions for NaCl newlib. (Closed)

Created:
6 years, 2 months ago by Sam Clegg
Modified:
5 years, 10 months ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : spellcheck #

Total comments: 30

Patch Set 7 : #

Patch Set 8 : #

Total comments: 32

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 1

Patch Set 12 : #

Total comments: 16

Patch Set 13 : #

Patch Set 14 : #

Total comments: 6

Patch Set 15 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+658 lines, -19 lines) Patch
M src/untrusted/pthread/nacl.scons View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A src/untrusted/pthread/nc_rwlock.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +293 lines, -0 lines 0 comments Download
M src/untrusted/pthread/nc_thread.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +5 lines, -16 lines 0 comments Download
M src/untrusted/pthread/pthread.h View 1 2 3 4 5 6 5 chunks +50 lines, -1 line 0 comments Download
M src/untrusted/pthread/pthread.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M src/untrusted/pthread/pthread_internal.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +14 lines, -1 line 0 comments Download
M src/untrusted/pthread/pthread_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M tests/threads/nacl.scons View 1 chunk +13 lines, -0 lines 0 comments Download
A tests/threads/rwlock_test.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +279 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (2 generated)
Sam Clegg
6 years, 2 months ago (2014-10-03 15:46:05 UTC) #2
Sam Clegg
friendly ping.
6 years, 2 months ago (2014-10-10 17:24:16 UTC) #3
Sam Clegg
On 2014/10/10 17:24:16, Sam Clegg wrote: > friendly ping. Thoughts?
6 years, 2 months ago (2014-10-21 18:36:19 UTC) #4
Sam Clegg
On 2014/10/21 18:36:19, Sam Clegg wrote: > On 2014/10/10 17:24:16, Sam Clegg wrote: > > ...
6 years, 1 month ago (2014-10-28 18:36:06 UTC) #5
Mark Seaborn
Big apologies for putting off reviewing this for so long. The basic approach looks OK. ...
6 years ago (2014-12-01 22:33:07 UTC) #6
Sam Clegg
Yes, I switched from futex/atomics to pthread primitives to make a simpler solution that was ...
6 years ago (2014-12-10 19:17:43 UTC) #7
Sam Clegg
ping
6 years ago (2014-12-15 19:30:07 UTC) #8
Mark Seaborn
https://codereview.chromium.org/623863002/diff/180001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/180001/src/untrusted/pthread/nc_rwlock.c#newcode10 src/untrusted/pthread/nc_rwlock.c:10: * This implementation is a 'write-prefering' reader-writer lock which ...
5 years, 11 months ago (2015-01-05 16:58:54 UTC) #9
Sam Clegg
https://codereview.chromium.org/623863002/diff/180001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/180001/src/untrusted/pthread/nc_rwlock.c#newcode10 src/untrusted/pthread/nc_rwlock.c:10: * This implementation is a 'write-prefering' reader-writer lock which ...
5 years, 11 months ago (2015-01-06 19:06:25 UTC) #10
Sam Clegg
On 2015/01/06 19:06:25, Sam Clegg wrote: > https://codereview.chromium.org/623863002/diff/180001/src/untrusted/pthread/nc_rwlock.c > File src/untrusted/pthread/nc_rwlock.c (right): > > https://codereview.chromium.org/623863002/diff/180001/src/untrusted/pthread/nc_rwlock.c#newcode10 ...
5 years, 11 months ago (2015-01-16 20:58:31 UTC) #11
Mark Seaborn
https://codereview.chromium.org/623863002/diff/240001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/240001/src/untrusted/pthread/nc_rwlock.c#newcode93 src/untrusted/pthread/nc_rwlock.c:93: if (rwlock->writers_waiting > 0) I was ready to LG ...
5 years, 10 months ago (2015-01-29 00:40:37 UTC) #12
Sam Clegg
On 2015/01/29 00:40:37, Mark Seaborn wrote: > https://codereview.chromium.org/623863002/diff/240001/src/untrusted/pthread/nc_rwlock.c > File src/untrusted/pthread/nc_rwlock.c (right): > > https://codereview.chromium.org/623863002/diff/240001/src/untrusted/pthread/nc_rwlock.c#newcode93 ...
5 years, 10 months ago (2015-01-30 19:27:42 UTC) #13
Mark Seaborn
https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c#newcode12 src/untrusted/pthread/nc_rwlock.c:12: * while there are waiting writers. See: Add something ...
5 years, 10 months ago (2015-02-02 18:29:14 UTC) #14
Sam Clegg
https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c#newcode12 src/untrusted/pthread/nc_rwlock.c:12: * while there are waiting writers. See: On 2015/02/02 ...
5 years, 10 months ago (2015-02-02 19:25:09 UTC) #15
Mark Seaborn
LGTM https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c#newcode100 src/untrusted/pthread/nc_rwlock.c:100: if (rwlock->writers_waiting > 0 && pthread_self()->tdb->rdlock_count == 0) ...
5 years, 10 months ago (2015-02-02 20:52:25 UTC) #16
Sam Clegg
https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c File src/untrusted/pthread/nc_rwlock.c (right): https://codereview.chromium.org/623863002/diff/260001/src/untrusted/pthread/nc_rwlock.c#newcode100 src/untrusted/pthread/nc_rwlock.c:100: if (rwlock->writers_waiting > 0 && pthread_self()->tdb->rdlock_count == 0) On ...
5 years, 10 months ago (2015-02-04 00:03:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/623863002/320001
5 years, 10 months ago (2015-02-04 00:04:40 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 02:29:57 UTC) #20
Message was sent while issue was closed.
Committed patchset #15 (id:320001) as
https://chromium.googlesource.com/native_client/src/native_client/+/9e3dac822...

Powered by Google App Engine
This is Rietveld 408576698