aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Win32/Thread.h
blob: eb83d1a323c80243d74c86291361a31f0d3c20ae (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
#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 */