Rolled handle infrastructure into rpcc.
[invirt/third/libt4.git] / rpc / thr_pool.h
index df11f20..9525032 100644 (file)
@@ -4,7 +4,7 @@
 #include "types.h"
 #include "fifo.h"
 
-typedef function<void()> job_t;
+typedef std::function<void()> job_t;
 
 class thread_pool {
     public:
@@ -18,7 +18,7 @@ class thread_pool {
         bool blockadd_;
 
         fifo<job_t> jobq_;
-        vector<thread> th_;
+        std::vector<thread> th_;
 
         void do_worker();
 };