From 6fc159b8d625317cd536058afbc14c19a297133f Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 3 Jun 2016 08:34:35 +0300 Subject: [PATCH 1/1] Fixed a bug in test thread_pool: the second run can lead to a deadlock --- test/include/cds_test/thread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test/include/cds_test/thread.h b/test/include/cds_test/thread.h index 8d2f55a8..dd9b0a16 100644 --- a/test/include/cds_test/thread.h +++ b/test/include/cds_test/thread.h @@ -195,6 +195,7 @@ namespace cds_test { m_bRunning = false; m_bStopped = false; m_doneCount = 0; + m_readyCount = 0; } protected: // thread interface -- 2.34.1