29 lines
405 B
C
29 lines
405 B
C
#ifndef CGE_THREAD_INTERNAL_H
|
|
#define CGE_THREAD_INTERNAL_H
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include "../CgeThread.h"
|
|
#include <windows.h>
|
|
|
|
struct CgeCondition {
|
|
CONDITION_VARIABLE handle;
|
|
};
|
|
|
|
struct CgeMutex {
|
|
CRITICAL_SECTION handle;
|
|
};
|
|
|
|
struct CgeSemaphore {
|
|
HANDLE handle;
|
|
};
|
|
|
|
struct CgeThread {
|
|
HANDLE handle;
|
|
};
|
|
|
|
struct CgeTss {
|
|
DWORD handle;
|
|
};
|
|
|
|
#endif /* CGE_THREAD_INTERNAL_H */
|