blob: 72d0bc47db428e00bd3fd4036e4d0686563749a9 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#include "Thread.h"
#include <BH/Thread.h>
BH_Semaphore *BH_SemaphoreNew(int value)
{
BH_UNUSED(value);
return NULL;
}
void BH_SemaphoreFree(BH_Semaphore *semaphore)
{
BH_UNUSED(semaphore);
}
int BH_SemaphorePost(BH_Semaphore *semaphore)
{
BH_UNUSED(semaphore);
return BH_NOIMPL;
}
int BH_SemaphoreWait(BH_Semaphore *semaphore)
{
BH_UNUSED(semaphore);
return BH_NOIMPL;
}
int BH_SemaphoreWaitTry(BH_Semaphore *semaphore)
{
BH_UNUSED(semaphore);
return BH_NOIMPL;
}
int BH_SemaphoreWaitFor(BH_Semaphore *semaphore,
uint32_t timeout)
{
BH_UNUSED(semaphore);
BH_UNUSED(timeout);
return BH_NOIMPL;
}
|