Revert "changed raspi to own thread class"

This reverts commit 467f6976f7.
This commit is contained in:
max_10
2018-09-20 16:58:06 +02:00
committed by Thilo Graf
parent b3d05f59bf
commit 89ab7c86dc
4 changed files with 14 additions and 13 deletions

View File

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