system/luaserver: Terminate Lua script when luaclient dies.

Origin commit data
------------------
Commit: ffec667030
Author: martii <m4rtii@gmx.de>
Date: 2014-10-13 (Mon, 13 Oct 2014)
This commit is contained in:
martii
2014-10-13 22:11:25 +02:00
committed by vanhofen
parent 4a5c4158c6
commit 35fcbc3447
4 changed files with 55 additions and 17 deletions

View File

@@ -32,6 +32,7 @@ class CLuaServer
static void *luaserver_thread(void *arg);
static void *luaserver_main_thread(void *);
static void *luaclient_watchdog(void *);
static bool luaserver_parse_command(CBasicMessage::Header &rmsg, int connfd);
static void Lock();
static void UnLock();