Author: tabish
Date: Sat Nov 1 20:31:23 2008
New Revision: 709836
URL: http://svn.apache.org/viewvc?rev=709836&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-200
Modified:
activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/MutexTest.cpp
Modified:
activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/MutexTest.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/MutexTest.cpp?rev=709836&r1=709835&r2=709836&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/MutexTest.cpp
(original)
+++ activemq/activemq-cpp/trunk/src/test/decaf/util/concurrent/MutexTest.cpp
Sat Nov 1 20:31:23 2008
@@ -365,6 +365,7 @@
// Delete all the threads.
for( int ix=0; ix<numThreads; ++ix ){
+ threads[ix]->join();
delete threads[ix];
}
@@ -542,6 +543,7 @@
// Delete all the threads.
for( int ix=0; ix<numThreads; ++ix ){
+ threads[ix]->join();
delete threads[ix];
}