diff options
Diffstat (limited to 'src/Platform/Win32/Thread.h')
| -rw-r--r-- | src/Platform/Win32/Thread.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/Platform/Win32/Thread.h b/src/Platform/Win32/Thread.h new file mode 100644 index 0000000..eb83d1a --- /dev/null +++ b/src/Platform/Win32/Thread.h @@ -0,0 +1,34 @@ +#ifndef BH_PLATFORM_WIN32_THREAD_H +#define BH_PLATFORM_WIN32_THREAD_H + +#include <windows.h> + + +struct BH_Condition +{ + CONDITION_VARIABLE handle; +}; + + +struct BH_Mutex +{ + CRITICAL_SECTION handle; +}; + + +struct BH_Semaphore +{ + HANDLE handle; +}; + + +struct BH_Thread +{ + HANDLE handle; +}; + + +void BH_TssCleanup(void); + + +#endif /* BH_PLATFORM_WIN32_THREAD_H */ |
