mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-28 07:50:58 +02:00
fix thread namespace
Origin commit data
------------------
Branch: master
Commit: 3ef2eeb8aa
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:
@@ -1,20 +1,20 @@
|
||||
#ifndef _THREAD_ABSTRACTION_H
|
||||
#define _THREAD_ABSTRACTION_H
|
||||
#ifndef _SIMPLETHREAD_ABSTRACTION_H
|
||||
#define _SIMPLETHREAD_ABSTRACTION_H
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
class Thread
|
||||
class SimpleThread
|
||||
{
|
||||
bool mIsRunning;
|
||||
pthread_t mThread;
|
||||
|
||||
static void* runThread(void*);
|
||||
Thread(const Thread&);
|
||||
const Thread& operator=(const Thread&);
|
||||
SimpleThread(const SimpleThread&);
|
||||
const SimpleThread& operator=(const SimpleThread&);
|
||||
|
||||
public:
|
||||
Thread();
|
||||
~Thread();
|
||||
SimpleThread();
|
||||
~SimpleThread();
|
||||
void startThread();
|
||||
void joinThread();
|
||||
|
||||
|
Reference in New Issue
Block a user