Adar Dembo has posted comments on this change.

Change subject: threadpool: new test for pools with no max_threads
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/6945/2/src/kudu/util/threadpool-test.cc
File src/kudu/util/threadpool-test.cc:

PS2, Line 153: shared_ptr<Runnable>(new SlowTask(latch));
> nit: consider using std::make_shared<SlowTask>(latch) instead
Done


PS2, Line 229:   pool_->Wait();
             :   pool_->Shutdown();
> What if one of asserts above triggers due to a failure?  Would it be necess
ThreadPool's destructor also calls Shutdown().


-- 
To view, visit http://gerrit.cloudera.org:8080/6945
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I37d0bd0a05098bcc1a81ec9f1ac33e74e98781e4
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Dan Burkert <danburk...@apache.org>
Gerrit-Reviewer: David Ribeiro Alves <davidral...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-HasComments: Yes

Reply via email to