aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_exec.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-07-12 21:01:41 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-07-12 21:01:41 +0000
commitf4e7eb10468044ade405c93f513d476afcf5ce95 (patch)
tree68fa90bb4f620190a4fd92101fb8fe6904838b7a /plugin_exec.c
parent09f4fd5003b3430c2a46b8494c19ca184c94157d (diff)
downloadlcd4linux-f4e7eb10468044ade405c93f513d476afcf5ce95.tar.gz
[lcd4linux @ 2006-07-12 21:01:41 by reinelt]
thread_destroy, minor cleanups git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@669 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_exec.c')
-rw-r--r--plugin_exec.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugin_exec.c b/plugin_exec.c
index 2a39b55..cf25d93 100644
--- a/plugin_exec.c
+++ b/plugin_exec.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_exec.c,v 1.11 2006/07/12 20:47:51 reinelt Exp $
+/* $Id: plugin_exec.c,v 1.12 2006/07/12 21:01:41 reinelt Exp $
*
* plugin for external processes
*
@@ -27,6 +27,9 @@
*
*
* $Log: plugin_exec.c,v $
+ * Revision 1.12 2006/07/12 21:01:41 reinelt
+ * thread_destroy, minor cleanups
+ *
* Revision 1.11 2006/07/12 20:47:51 reinelt
* indent
*
@@ -86,7 +89,6 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
-#include <signal.h>
#include "debug.h"
#include "plugin.h"
@@ -181,7 +183,7 @@ static void exec_thread(void *data)
static void destroy_exec_thread(const int n)
{
- kill(Thread[n].pid, SIGKILL);
+ thread_destroy(Thread[n].pid);
if (Thread[n].mutex != 0)
mutex_destroy(Thread[n].mutex);