projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a bug in test thread_pool: the second run can lead to a deadlock
[libcds.git]
/
test
/
include
/
cds_test
/
thread.h
diff --git
a/test/include/cds_test/thread.h
b/test/include/cds_test/thread.h
index 8d2f55a8120876e0b8da15104d9aba320444fe6b..dd9b0a16e47dc3b1b0166231addfcff2e28c4fca 100644
(file)
--- 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