diff --git a/.gitignore b/.gitignore index 33fc9db..331e00c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *cmake *.a *.so +*/a.out */cov */lcov.info */lcov2.info diff --git a/include/ThreadPool.hpp b/include/ThreadPool.hpp index 0c4b7f9..f88ac26 100644 --- a/include/ThreadPool.hpp +++ b/include/ThreadPool.hpp @@ -14,7 +14,7 @@ class ThreadPool public: - ThreadPool( const int threadNum ); + ThreadPool(); ~ThreadPool(); void pushTask( Task* task ); @@ -31,10 +31,8 @@ class ThreadPool ThreadPool( const ThreadPool& ); ThreadPool& operator=( const ThreadPool& ); - int m_threadNum; std::vector m_threads; ConcurrentQueue m_tasks; -// Mutex m_mutex; };