diff --git a/src/interfaces/AutonomyThread.hpp b/src/interfaces/AutonomyThread.hpp index 61ca582..99166e4 100644 --- a/src/interfaces/AutonomyThread.hpp +++ b/src/interfaces/AutonomyThread.hpp @@ -511,6 +511,16 @@ class AutonomyThread ******************************************************************************/ int GetPoolNumOfThreads() { return m_thPool.get_thread_count(); } + /****************************************************************************** + * @brief Accessor for the Pool Queue Size private member. + * + * @return int - The number of tasks queued for the pool. + * + * @author clayjay3 (claytonraycowen@gmail.com) + * @date 2024-03-14 + ******************************************************************************/ + int GetPoolQueueLength() { return m_thPool.get_tasks_queued(); } + /****************************************************************************** * @brief Accessor for the Pool Results private member. The action of getting * results will destroy and remove them from this object. This method blocks