Cleanups
[invirt/third/libt4.git] / rpc / thr_pool.h
index 2a1a749..4ea1bd4 100644 (file)
@@ -10,13 +10,13 @@ typedef std::function<void()> job_t;
 
 class ThrPool {
        public:
-               ThrPool(int sz, bool blocking=true);
+               ThrPool(size_t sz, bool blocking=true);
                ~ThrPool();
 
                bool addJob(const job_t &j);
 
        private:
-               int nthreads_;
+        size_t nthreads_;
                bool blockadd_;
 
                fifo<job_t> jobq_;