From f4e7eb10468044ade405c93f513d476afcf5ce95 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 12 Jul 2006 21:01:41 +0000 Subject: [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 --- plugin_exec.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugin_exec.c') 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 #include #include -#include #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); -- cgit v1.2.3