aboutsummaryrefslogtreecommitdiff
path: root/lib/base/thread.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-02 11:11:54 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-02 11:11:54 +0000
commitee3668c2b442ccbd7f217eeeb63a9a9f6b79df6a (patch)
tree56f8078f8820b1958414fdbdcfc48a2eac14c830 /lib/base/thread.cpp
parentc3c343dab84378de4e68065497e0115a422bf045 (diff)
downloadenigma2-ee3668c2b442ccbd7f217eeeb63a9a9f6b79df6a.tar.gz
enigma2-ee3668c2b442ccbd7f217eeeb63a9a9f6b79df6a.zip
do always call thread cleanup handler
Diffstat (limited to 'lib/base/thread.cpp')
-rw-r--r--lib/base/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/thread.cpp b/lib/base/thread.cpp
index 08ddc1fb..a3edef3e 100644
--- a/lib/base/thread.cpp
+++ b/lib/base/thread.cpp
@@ -19,7 +19,7 @@ void *eThread::wrapper(void *ptr)
pthread_cleanup_push( thread_completed, (void*)p );
p->thread();
pthread_exit(0);
- pthread_cleanup_pop(0);
+ pthread_cleanup_pop(1);
return 0;
}