mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 17:52:29 +00:00
34 lines
No EOL
464 B
C
34 lines
No EOL
464 B
C
#ifndef STORM_THREAD_H
|
|
#define STORM_THREAD_H
|
|
|
|
DECLARE_STRUCT(SCritSect);
|
|
DECLARE_STRUCT(SSyncObject);
|
|
DECLARE_STRUCT(SEvent);
|
|
DECLARE_STRUCT(SThread);
|
|
|
|
#include "system/types.h"
|
|
|
|
typedef struct CSRWLock CSRWLock;
|
|
|
|
struct SCritSect {
|
|
uint8_t m_critsect[40];
|
|
};
|
|
|
|
struct CSRWLock {
|
|
uint8_t m_opaqueData[12];
|
|
};
|
|
|
|
struct SSyncObject {
|
|
// HANDLE
|
|
void* m_opaqueData;
|
|
};
|
|
|
|
struct SEvent {
|
|
SSyncObject b_base;
|
|
};
|
|
|
|
struct SThread {
|
|
SSyncObject b_base;
|
|
};
|
|
|
|
#endif |