Hello Dinesh Bhat,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/5275

to review the following change.

Change subject: threadpool: Allow zero-size task queue
......................................................................

threadpool: Allow zero-size task queue

A zero-size task queue implies that the number of tasks running or
queued at a given time will never exceed max_threads. In reality, a the
queue is not actually bounded to 0, because a queue is always used by
the worker threads to claim tasks, however that is an implementation
detail.

Added a new test for this functionality and updated an existing
queue-related test that is now deterministic instead of racy.

Change-Id: I5abf40473ee813c625e0a02232d714aab2e65109
---
M src/kudu/util/threadpool-test.cc
M src/kudu/util/threadpool.cc
2 files changed, 33 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/75/5275/1
-- 
To view, visit http://gerrit.cloudera.org:8080/5275
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5abf40473ee813c625e0a02232d714aab2e65109
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Mike Percy <[email protected]>
Gerrit-Reviewer: Dinesh Bhat <[email protected]>

Reply via email to