diff options
Diffstat (limited to 'src/threadengine_pthread.cpp')
-rw-r--r-- | src/threadengine_pthread.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/threadengine_pthread.cpp b/src/threadengine_pthread.cpp index 9d9bf160d..a85af583e 100644 --- a/src/threadengine_pthread.cpp +++ b/src/threadengine_pthread.cpp @@ -11,9 +11,7 @@ static void *entry_point(void *parameter) Thread *thread = static_cast<Thread *>(parameter); thread->Run(); if (!thread->GetExitState()) - { thread->Join(); - } delete thread; pthread_exit(0); } @@ -23,9 +21,7 @@ static void *entry_point(void *parameter) ThreadEngine::ThreadEngine() { if (pthread_attr_init(&threadengine_attr)) - { throw CoreException("ThreadEngine: Error calling pthread_attr_init"); - } } /** Threadengines destructor @@ -110,4 +106,3 @@ void Condition::Wait() { pthread_cond_wait(&cond, &mutex); } - |