blob: d813bc708f202a7fc0078a6b44ed88d7f2767f67 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/* $OpenBSD: unithread_malloc_lock.c,v 1.9 2015/04/07 01:27:07 guenther Exp $ */
#include <sys/time.h>
#include "thread_private.h"
WEAK_PROTOTYPE(_thread_malloc_lock);
WEAK_PROTOTYPE(_thread_malloc_unlock);
WEAK_ALIAS(_thread_malloc_lock);
WEAK_ALIAS(_thread_malloc_unlock);
WEAK_PROTOTYPE(_thread_atexit_lock);
WEAK_PROTOTYPE(_thread_atexit_unlock);
WEAK_ALIAS(_thread_atexit_lock);
WEAK_ALIAS(_thread_atexit_unlock);
WEAK_PROTOTYPE(_thread_atfork_lock);
WEAK_PROTOTYPE(_thread_atfork_unlock);
WEAK_ALIAS(_thread_atfork_lock);
WEAK_ALIAS(_thread_atfork_unlock);
WEAK_PROTOTYPE(_thread_arc4_lock);
WEAK_PROTOTYPE(_thread_arc4_unlock);
WEAK_ALIAS(_thread_arc4_lock);
WEAK_ALIAS(_thread_arc4_unlock);
void
WEAK_NAME(_thread_malloc_lock)(void)
{
return;
}
void
WEAK_NAME(_thread_malloc_unlock)(void)
{
return;
}
void
WEAK_NAME(_thread_atexit_lock)(void)
{
return;
}
void
WEAK_NAME(_thread_atexit_unlock)(void)
{
return;
}
void
WEAK_NAME(_thread_atfork_lock)(void)
{
return;
}
void
WEAK_NAME(_thread_atfork_unlock)(void)
{
return;
}
void
WEAK_NAME(_thread_arc4_lock)(void)
{
return;
}
void
WEAK_NAME(_thread_arc4_unlock)(void)
{
return;
}
|