#include "types.h"
#include "fifo.h"
-typedef function<void()> job_t;
+typedef std::function<void()> job_t;
class thread_pool {
public:
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_;