activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r902233 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.cpp
Date Fri, 22 Jan 2010 19:17:11 GMT
Author: tabish
Date: Fri Jan 22 19:17:11 2010
New Revision: 902233

URL: http://svn.apache.org/viewvc?rev=902233&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQCPP-280

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.cpp?rev=902233&r1=902232&r2=902233&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.cpp Fri Jan 22 19:17:11
2010
@@ -186,7 +186,7 @@
             ThreadProperties::runCallback( properties );
 
             pthread_setspecific( currentThreadKey, NULL );
-            pthread_exit(0);
+            pthread_detach( properties->handle );
 
             properties->state = Thread::TERMINATED;
 



Mime
View raw message