From 952021633d0f306fbe855ba347c199751fcf38ff Mon Sep 17 00:00:00 2001 From: maroy Date: Thu, 25 Nov 2004 09:51:24 +0000 Subject: [PATCH] removed pthread_exit() again. for some reason, the pthread implementation on Mandrake 10 crashes when a thread function exists by calling it. --- livesupport/modules/core/src/Thread.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livesupport/modules/core/src/Thread.cxx b/livesupport/modules/core/src/Thread.cxx index a0d682c47..73294f974 100644 --- a/livesupport/modules/core/src/Thread.cxx +++ b/livesupport/modules/core/src/Thread.cxx @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.3 $ + Version : $Revision: 1.4 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/Thread.cxx,v $ ------------------------------------------------------------------------------*/ @@ -75,7 +75,7 @@ Thread :: posixThreadFunction(void * thread) throw () pThread->runnable->run(); - pthread_exit(0); + return 0; }