diff --git a/src/EC/ThreadPool.hpp b/src/EC/ThreadPool.hpp index 22da28e..d3808ec 100644 --- a/src/EC/ThreadPool.hpp +++ b/src/EC/ThreadPool.hpp @@ -172,6 +172,13 @@ public: return fnQueue.empty(); } + /*! + \brief Returns the ThreadCount that this class was created with. + */ + unsigned int getThreadCount() { + return SIZE; + } + private: std::vector threads; std::atomic_bool isAlive;