X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/16e7c282c6fcec8189425bd15ec9e8a4a0ee857d..d54215aea2a7321ab0f2dc7b0042fea2b7ff5df5:/rpc/thr_pool.cc diff --git a/rpc/thr_pool.cc b/rpc/thr_pool.cc index 64b3263..4988dab 100644 --- a/rpc/thr_pool.cc +++ b/rpc/thr_pool.cc @@ -2,15 +2,15 @@ // 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