From: khizmax Date: Fri, 3 Jun 2016 05:34:35 +0000 (+0300) Subject: Fixed a bug in test thread_pool: the second run can lead to a deadlock X-Git-Tag: v2.2.0~232 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=6fc159b8d625317cd536058afbc14c19a297133f;hp=ad80fa52776eb6364e4a8a8d8ab5a0f17372b64d Fixed a bug in test thread_pool: the second run can lead to a deadlock --- 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