Hello Kudu Jenkins, Adar Dembo,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/15270
to look at the new patch set (#2).
Change subject: [subprocess] use a CountDownLatch
......................................................................
[subprocess] use a CountDownLatch
As follow-up to 20be5d957ab80c7c0ed8eaf62324ac70940d7543, this converts
the atomic boolean that signals a shutdown in the SubprocessServer to a
CountDownLatch. This allows us to combine some of the sleeps with the
shutdown checks.
To do this, I had to update the CountDownLatch::CountDown() methods to
return whether they actually counted down.
Change-Id: I1adfdf3a9ccb6e8ee8c60cfab68562dde3e642d6
---
M src/kudu/subprocess/server.cc
M src/kudu/subprocess/server.h
M src/kudu/util/countdown_latch.h
3 files changed, 26 insertions(+), 22 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/70/15270/2
--
To view, visit http://gerrit.cloudera.org:8080/15270
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1adfdf3a9ccb6e8ee8c60cfab68562dde3e642d6
Gerrit-Change-Number: 15270
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)