Fixed a bug in test thread_pool: the second run can lead to a deadlock
[libcds.git] / test / include / cds_test / thread.h
index 8d2f55a8120876e0b8da15104d9aba320444fe6b..dd9b0a16e47dc3b1b0166231addfcff2e28c4fca 100644 (file)
@@ -195,6 +195,7 @@ namespace cds_test {
             m_bRunning = false;
             m_bStopped = false;
             m_doneCount = 0;
+            m_readyCount = 0;
         }
 
     protected: // thread interface