fixed bug #0000452, where the thread was crashing after exit
This commit is contained in:
parent
b55afa61e5
commit
5e8312cc82
|
@ -21,7 +21,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author : $Author: maroy $
|
# 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 $
|
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/etc/Makefile.in,v $
|
||||||
#
|
#
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
@ -92,14 +92,14 @@ CORE_LIB_OBJS = ${TMP_DIR}/UniqueId.o \
|
||||||
${TMP_DIR}/TimeConversion.o \
|
${TMP_DIR}/TimeConversion.o \
|
||||||
${TMP_DIR}/Thread.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}/FadeInfoTest.o \
|
||||||
${TMP_DIR}/PlaylistElementTest.o \
|
${TMP_DIR}/PlaylistElementTest.o \
|
||||||
${TMP_DIR}/PlaylistTest.o \
|
${TMP_DIR}/PlaylistTest.o \
|
||||||
${TMP_DIR}/TimeConversionTest.o \
|
${TMP_DIR}/TimeConversionTest.o \
|
||||||
${TMP_DIR}/TestRunnable.o \
|
${TMP_DIR}/TestRunnable.o \
|
||||||
${TMP_DIR}/ThreadTest.o \
|
${TMP_DIR}/ThreadTest.o
|
||||||
${TMP_DIR}/TestRunner.o
|
|
||||||
|
|
||||||
TEST_RUNNER_LIBS = -l${CORE_LIB} -lxml++-1.0 -lboost_date_time-gcc \
|
TEST_RUNNER_LIBS = -l${CORE_LIB} -lxml++-1.0 -lboost_date_time-gcc \
|
||||||
-lcppunit -ldl
|
-lcppunit -ldl
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: maroy $
|
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 $
|
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->runnable->run();
|
||||||
|
|
||||||
pthread_exit(0);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: maroy $
|
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 $
|
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);
|
usleep(10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
pthread_exit(0);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue