system/luaserver: fix destructor

This commit is contained in:
martii
2014-10-13 22:11:25 +02:00
committed by svenhoefer
parent 62c5aa5c4f
commit d681936f26
2 changed files with 34 additions and 21 deletions

View File

@@ -29,7 +29,6 @@ class CLuaServer
private:
int count;
pthread_t thr;
pthread_mutex_t mutex;
static void *luaserver_thread(void *arg);
static void *luaserver_main_thread(void *);
@@ -40,7 +39,7 @@ class CLuaServer
~CLuaServer();
public:
sem_t may_run;
sem_t did_run;
bool did_run;
void UnBlock();
bool Block(const neutrino_msg_t msg, const neutrino_msg_data_t data);