X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/f2170465073de34adf89161d4287182b518352c4..be7cf844f59fa483423724e8e4b5e663e5b88ddd:/rpc/thr_pool.h diff --git a/rpc/thr_pool.h b/rpc/thr_pool.h index 4ea1bd4..5b95cba 100644 --- a/rpc/thr_pool.h +++ b/rpc/thr_pool.h @@ -1,12 +1,10 @@ #ifndef thr_pool_h #define thr_pool_h -#include -#include - +#include "types.h" #include "fifo.h" -typedef std::function job_t; +typedef function job_t; class ThrPool { public: @@ -20,7 +18,7 @@ class ThrPool { bool blockadd_; fifo jobq_; - std::vector th_; + vector th_; void do_worker(); };