summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-08 16:49:41 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-08 16:49:41 +0200
commitff109a90a6b9bede362e8eda90fb0a452a88b6fb (patch)
treeb669c1e574a6d29bc36187b417dfa34d6f3bee4f /thread.c
parenta36ff983f5f5304449185cf26e2275c41370d036 (diff)
downloadvdr-ff109a90a6b9bede362e8eda90fb0a452a88b6fb.tar.gz
vdr-ff109a90a6b9bede362e8eda90fb0a452a88b6fb.tar.bz2
Stopping remote control thread at end
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index 7e3ee939..7304e682 100644
--- a/thread.c
+++ b/thread.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: thread.c 1.1 2000/10/07 17:31:39 kls Exp $
+ * $Id: thread.c 1.2 2000/10/08 16:45:50 kls Exp $
*/
#include "thread.h"
@@ -58,7 +58,7 @@ bool cThread::Start(void)
void cThread::Stop(void)
{
- pthread_exit(NULL);
+ pthread_cancel(thread);
}
bool cThread::Lock(void)