RetroZilla/xpinstall/wizard/libxpnet/GUSI/include/GUSIPThread.h

31 lines
962 B
C
Raw Normal View History

2015-10-21 05:03:22 +02:00
// <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_ */