X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/5d99dbf06a14904944f5593c63705934bdfdcfb7..f0dcb6b97d6d40f67698d1f71ac26970f1776f82:/rpc/thr_pool.cc diff --git a/rpc/thr_pool.cc b/rpc/thr_pool.cc index 7d3cf7d..fc7be3d 100644 --- a/rpc/thr_pool.cc +++ b/rpc/thr_pool.cc @@ -2,32 +2,32 @@ // if blocking, then addJob() blocks when queue is full // otherwise, addJob() simply returns false when queue is full -ThrPool::ThrPool(size_t sz, bool blocking) +thread_pool::thread_pool(size_t sz, bool blocking) : nthreads_(sz),blockadd_(blocking),jobq_(100*sz) { - for (size_t i=0; i