diff options
author | dwight <dwight@10gen.com> | 2010-07-01 17:52:07 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2010-07-01 17:52:07 -0400 |
commit | e3d9b61b12c64cddf907eab48dc6873bd50317a2 (patch) | |
tree | afc7ca9222420d5c5e832700c3bbc638f473c32c /util/concurrency/thread_pool.h | |
parent | 1d96219addad2a007375043b06731392fe388bbf (diff) | |
download | mongo-e3d9b61b12c64cddf907eab48dc6873bd50317a2.tar.gz |
cleaning
Diffstat (limited to 'util/concurrency/thread_pool.h')
-rw-r--r-- | util/concurrency/thread_pool.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/concurrency/thread_pool.h b/util/concurrency/thread_pool.h index cec3caf8a9e..f0fe8f1e1dd 100644 --- a/util/concurrency/thread_pool.h +++ b/util/concurrency/thread_pool.h @@ -41,7 +41,6 @@ namespace threadpool { // Also, new tasks could be scheduled after this returns. void join(); - // task will be copied a few times so make sure it's relatively cheap void schedule(Task task); @@ -58,7 +57,6 @@ namespace threadpool { template<typename F, typename A, typename B, typename C, typename D, typename E> void schedule(F f, A a, B b, C c, D d, E e){ schedule(boost::bind(f,a,b,c,d,e)); } - int tasks_remaining() { return _tasksRemaining; } private: |