mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 07:22:44 +02:00
changed raspi to own thread class
Origin commit data
------------------
Branch: master
Commit: 467f6976f7
Author: smogm <smogm@vh0st.me>
Date: 2015-01-12 (Mon, 12 Jan 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user