blob: 996ff1ef0e731660360e75c0587ab3dff86fff73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef BH_PLATFORM_WIN32_THREAD_H
#define BH_PLATFORM_WIN32_THREAD_H
#include <BH/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 */
|