aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/thread_manager
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2018-08-15 14:46:51 -0700
committerGravatar Vijay Pai <vpai@google.com>2018-08-15 14:46:51 -0700
commit9c32dab63dc031e71412bdb90865eafbc1f18746 (patch)
treeff466755936051076b3ca6d9db91c51efb67dec5 /src/cpp/thread_manager
parentd9781df47461e10ec364290955313773cd1876e1 (diff)
Expand comment based on reviewer feedback
Diffstat (limited to 'src/cpp/thread_manager')
-rw-r--r--src/cpp/thread_manager/thread_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpp/thread_manager/thread_manager.h b/src/cpp/thread_manager/thread_manager.h
index 352f80baf4..6f0bd17c5f 100644
--- a/src/cpp/thread_manager/thread_manager.h
+++ b/src/cpp/thread_manager/thread_manager.h
@@ -67,7 +67,9 @@ class ThreadManager {
// The implementation of DoWork() is supposed to perform the work found by
// PollForWork(). The tag and ok parameters are the same as returned by
- // PollForWork()
+ // PollForWork(). The resources parameter indicates that the call actually
+ // has the resources available for performing the RPC's work. If it doesn't,
+ // the implementation should fail it appropriately.
//
// The implementation of DoWork() should also do any setup needed to ensure
// that the next call to PollForWork() (not necessarily by the current thread)