diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-07-12 20:45:30 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-07-12 20:45:30 +0000 |
commit | 0c45f59043d0403274fcd6c2b3f9c70b412377e6 (patch) | |
tree | e7fbe8657b72c97d7cd14545e049519263c9bc6f /plugin_exec.c | |
parent | a2bb31e88bf20d30d1a3e3d50fba774c2a438b49 (diff) | |
download | lcd4linux-0c45f59043d0403274fcd6c2b3f9c70b412377e6.tar.gz |
[lcd4linux @ 2006-07-12 20:45:30 by reinelt]
G15 and thread patch by Anton
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@667 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_exec.c')
-rw-r--r-- | plugin_exec.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugin_exec.c b/plugin_exec.c index f9576e2..ec7806d 100644 --- a/plugin_exec.c +++ b/plugin_exec.c @@ -1,4 +1,4 @@ -/* $Id: plugin_exec.c,v 1.9 2005/05/08 04:32:44 reinelt Exp $ +/* $Id: plugin_exec.c,v 1.10 2006/07/12 20:45:30 reinelt Exp $ * * plugin for external processes * @@ -27,6 +27,9 @@ * * * $Log: plugin_exec.c,v $ + * Revision 1.10 2006/07/12 20:45:30 reinelt + * G15 and thread patch by Anton + * * Revision 1.9 2005/05/08 04:32:44 reinelt * CodingStyle added and applied * @@ -80,6 +83,7 @@ #include <unistd.h> #include <string.h> #include <errno.h> +#include <signal.h> #include "debug.h" #include "plugin.h" @@ -182,7 +186,7 @@ static void destroy_exec_thread(const int n) free(Thread[n].key); if (Thread[n].ret) shm_destroy(Thread[n].shmid, Thread[n].ret); - + kill(Thread[n].pid,SIGKILL); Thread[n].delay = 0; Thread[n].mutex = 0; Thread[n].pid = 0; |