Rewrote threaded log code to be more idiomatic.
[invirt/third/libt4.git] / rpc / thr_pool.h
index 5950a9c..df11f20 100644 (file)
@@ -6,12 +6,12 @@
 
 typedef function<void()> job_t;
 
-class ThrPool {
+class thread_pool {
     public:
-        ThrPool(size_t sz, bool blocking=true);
-        ~ThrPool();
+        thread_pool(size_t sz, bool blocking=true);
+        ~thread_pool();
 
-        bool addJob(const job_t &j);
+        bool addJob(const job_t & j);
 
     private:
         size_t nthreads_;