X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/16e7c282c6fcec8189425bd15ec9e8a4a0ee857d..06282fd37814c4a9d53bca089b048709b368f5b3:/rpc/thr_pool.cc diff --git a/rpc/thr_pool.cc b/rpc/thr_pool.cc index 64b3263..fc7be3d 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