fixed bug #0000452, where the thread was crashing after exit

This commit is contained in:
maroy 2004-11-18 15:44:11 +00:00
parent b55afa61e5
commit 5e8312cc82
3 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@
#
#
# Author : $Author: maroy $
# Version : $Revision: 1.11 $
# Version : $Revision: 1.12 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/etc/Makefile.in,v $
#
# @configure_input@
@ -92,14 +92,14 @@ CORE_LIB_OBJS = ${TMP_DIR}/UniqueId.o \
${TMP_DIR}/TimeConversion.o \
${TMP_DIR}/Thread.o
TEST_RUNNER_OBJS = ${TMP_DIR}/AudioClipTest.o \
TEST_RUNNER_OBJS = ${TMP_DIR}/TestRunner.o \
${TMP_DIR}/AudioClipTest.o \
${TMP_DIR}/FadeInfoTest.o \
${TMP_DIR}/PlaylistElementTest.o \
${TMP_DIR}/PlaylistTest.o \
${TMP_DIR}/TimeConversionTest.o \
${TMP_DIR}/TestRunnable.o \
${TMP_DIR}/ThreadTest.o \
${TMP_DIR}/TestRunner.o
${TMP_DIR}/ThreadTest.o
TEST_RUNNER_LIBS = -l${CORE_LIB} -lxml++-1.0 -lboost_date_time-gcc \
-lcppunit -ldl

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
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;
}

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $
Version : $Revision: 1.2 $
Version : $Revision: 1.3 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/HelixPlayer.cxx,v $
------------------------------------------------------------------------------*/
@ -91,7 +91,7 @@ LiveSupport::PlaylistExecutor::eventHandlerThread(void * helixPlayer)
usleep(10000);
}
pthread_exit(0);
return 0;
}