changed raspi to own thread class

This commit is contained in:
smogm
2015-01-12 20:36:56 +01:00
parent 9ed0a0d244
commit 467f6976f7
4 changed files with 13 additions and 14 deletions

View File

@@ -32,7 +32,7 @@
#include <set>
#include <map>
#include <OpenThreads/Thread>
#include <thread_abstraction.h>
#include "init_lib.h"
#include "lt_debug.h"
@@ -69,7 +69,7 @@ static void init_keymap(void)
kmap[KEY_F8] = KEY_SLEEP;
}
class Input: public OpenThreads::Thread
class Input: public Thread
{
public:
Input();
@@ -82,13 +82,13 @@ class Input: public OpenThreads::Thread
Input::Input()
{
Init();
start();
Thread::start();
}
Input::~Input()
{
running = false;
join();
Thread::join();
}
static int dirfilter(const struct dirent *d)