mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-10 01:40:17 +01:00
31 lines
962 B
C++
31 lines
962 B
C++
// <GUSIPThread.h>=
|
|
#ifndef _GUSIPThread_
|
|
#define _GUSIPThread_
|
|
|
|
#include "GUSISpecific.h"
|
|
#include "GUSIContext.h"
|
|
#include "GUSIContextQueue.h"
|
|
|
|
#include <pthread.h>
|
|
|
|
// <Implementation of Pthread data types>=
|
|
struct GUSIPThread : public GUSIContext {
|
|
private:
|
|
GUSIPThread() : GUSIContext(0) {} // Never called
|
|
};
|
|
// <Implementation of Pthread data types>=
|
|
struct GUSIPThreadKey : public GUSISpecific {
|
|
GUSIPThreadKey(GUSIPThreadKeyDestructor destructor) : GUSISpecific(destructor) {}
|
|
};
|
|
// <Implementation of Pthread data types>=
|
|
struct GUSIPThreadMutex : public GUSIContextQueue {
|
|
bool fPolling;
|
|
|
|
GUSIPThreadMutex() : fPolling(false) {}
|
|
};
|
|
// <Implementation of Pthread data types>=
|
|
struct GUSIPThreadCond : public GUSIContextQueue {
|
|
};
|
|
|
|
#endif /* _GUSIPThread_ */
|