Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(112)

Issue 164050: Add countdown_latch (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 6 months ago by Alasdair
Modified:
16 years, 2 months ago
Reviewers:
Jeffrey Yasskin
CC:
google-concurrency-library_googlegroups.com
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Remove posix_errors.h #

Patch Set 3 : Modify usage of condition_variable, update condition_variable documentation #

Patch Set 4 : Spacing #

Patch Set 5 : Updated set of files, using hg patches. #

Total comments: 35

Patch Set 6 : Update following review comments #

Patch Set 7 : Upload changes that were missed from last upload #

Total comments: 11

Patch Set 8 : Update after latest review comments. Remove test for rewriting. Fix milliseconds constructor. #

Patch Set 9 : Merge with new Makefile #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -3 lines) Patch
M Makefile View 1 chunk +1 line, -1 line 0 comments Download
M include/concurrent_priority_queue.h View 8 1 chunk +1 line, -1 line 0 comments Download
A include/countdown_latch.h View 1 2 3 4 5 7 1 chunk +51 lines, -0 lines 6 comments Download
M include/thread.h View 1 chunk +1 line, -1 line 0 comments Download
A src/countdown_latch.cc View 1 2 3 4 5 7 8 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 9
Alasdair
Please ignore concurrent_priority_queue_test.cc - I'm playing with it to add some concurrent tests. (Is there ...
16 years, 6 months ago (2009-11-30 23:06:43 UTC) #1
Alasdair
Updated version of this CL, using Mercurial patches to limit it to the correct set ...
16 years, 6 months ago (2009-12-01 20:03:10 UTC) #2
Jeffrey Yasskin
http://codereview.appspot.com/164050/diff/27/1023 File include/countdown_latch.h (right): http://codereview.appspot.com/164050/diff/27/1023#newcode6 include/countdown_latch.h:6: #include <stdlib.h> What are you using from stdlib.h? http://codereview.appspot.com/164050/diff/27/1023#newcode11 ...
16 years, 6 months ago (2009-12-02 07:39:41 UTC) #3
Alasdair
I've left a couple of items as TODOS which I will address before submitting, but ...
16 years, 6 months ago (2009-12-02 18:22:52 UTC) #4
Jeffrey Yasskin
http://codereview.appspot.com/164050/diff/27/1023 File include/countdown_latch.h (right): http://codereview.appspot.com/164050/diff/27/1023#newcode18 include/countdown_latch.h:18: // to wait() will block until the count reaches ...
16 years, 6 months ago (2009-12-03 03:14:28 UTC) #5
Alasdair
http://codereview.appspot.com/164050/diff/27/1023 File include/countdown_latch.h (right): http://codereview.appspot.com/164050/diff/27/1023#newcode18 include/countdown_latch.h:18: // to wait() will block until the count reaches ...
16 years, 6 months ago (2009-12-08 02:23:25 UTC) #6
Alasdair
Merge with new Makefile
16 years, 5 months ago (2009-12-18 21:42:59 UTC) #7
Jeffrey Yasskin
LGTM with just a couple nits. Please commit. http://codereview.appspot.com/164050/diff/6001/6004 File include/countdown_latch.h (right): http://codereview.appspot.com/164050/diff/6001/6004#newcode21 include/countdown_latch.h:21: // ...
16 years, 5 months ago (2009-12-18 22:06:21 UTC) #8
Alasdair
16 years, 2 months ago (2010-03-19 20:59:12 UTC) #9
Just cleaning up old issues. I never published my final response, but all
remaining issues were cleaned up and the changes committed.

http://codereview.appspot.com/164050/diff/6001/6004
File include/countdown_latch.h (right):

http://codereview.appspot.com/164050/diff/6001/6004#newcode21
include/countdown_latch.h:21: // other threads are blocked in wait(), or ar
invoking count_down(),
On 2009/12/18 22:06:21, Jeffrey Yasskin wrote:
> sp: ar

Done.

http://codereview.appspot.com/164050/diff/6001/6004#newcode25
include/countdown_latch.h:25: // TODO(alasdair): before submit, add guard to
allow this to be
On 2009/12/18 22:06:21, Jeffrey Yasskin wrote:
> "before submit" todos should be fixed or decided against before submitting.
> 
> I think this one's already done.

Done.

http://codereview.appspot.com/164050/diff/6001/6004#newcode35
include/countdown_latch.h:35: // throws std::system_error
On 2009/12/18 22:06:21, Jeffrey Yasskin wrote:
> + "."

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b