X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/6623ac357055b95ce4fc0cbe9c5dc15524a9f20c..ab6c1548ac2b1907bca92c8ce43e919c1a649a6f:/rpc/thr_pool.cc diff --git a/rpc/thr_pool.cc b/rpc/thr_pool.cc index 4988dab..fc7be3d 100644 --- a/rpc/thr_pool.cc +++ b/rpc/thr_pool.cc @@ -18,7 +18,7 @@ thread_pool::~thread_pool() { th_[i].join(); } -bool thread_pool::addJob(const job_t &j) { +bool thread_pool::addJob(const job_t & j) { return jobq_.enq(j,blockadd_); }