aboutsummaryrefslogtreecommitdiff
path: root/libc/include/threads.yaml
blob: 99b29f181554945275ea475872f0c97e4e77b082 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
header: threads.h
standards:
  - stdc
macros:
  - macro_name: ONCE_FLAG_INIT
    macro_value: '{0}'
types:
  - type_name: once_flag
  - type_name: __call_once_func_t
  - type_name: cnd_t
  - type_name: mtx_t
  - type_name: thrd_start_t
  - type_name: thrd_t
  - type_name: tss_t
  - type_name: tss_dtor_t
enums:
  - name: mtx_plain
    value: null
  - name: mtx_recursive
    value: null
  - name: mtx_timed
    value: null
  - name: thrd_timedout
    value: null
  - name: thrd_success
    value: null
  - name: thrd_busy
    value: null
  - name: thrd_error
    value: null
  - name: thrd_nomem
    value: null
objects: []
functions:
  - name: call_once
    standards:
      - stdc
    return_type: void
    arguments:
      - type: once_flag *
      - type: __call_once_func_t
  - name: cnd_broadcast
    standards:
      - stdc
    return_type: int
    arguments:
      - type: cnd_t *
  - name: cnd_destroy
    standards:
      - stdc
    return_type: void
    arguments:
      - type: cnd_t *
  - name: cnd_init
    standards:
      - stdc
    return_type: int
    arguments:
      - type: cnd_t *
  - name: cnd_signal
    standards:
      - stdc
    return_type: int
    arguments:
      - type: cnd_t *
  - name: cnd_wait
    standards:
      - stdc
    return_type: int
    arguments:
      - type: cnd_t *
      - type: mtx_t *
  - name: mtx_destroy
    standards:
      - stdc
    return_type: int
    arguments:
      - type: void
  - name: mtx_init
    standards:
      - stdc
    return_type: int
    arguments:
      - type: mtx_t *
      - type: int
  - name: mtx_lock
    standards:
      - stdc
    return_type: int
    arguments:
      - type: mtx_t *
  - name: mtx_unlock
    standards:
      - stdc
    return_type: int
    arguments:
      - type: mtx_t *
  - name: thrd_create
    standards:
      - stdc
    return_type: int
    arguments:
      - type: thrd_t *
      - type: thrd_start_t
      - type: void *
  - name: thrd_current
    standards:
      - stdc
    return_type: thrd_t
    arguments:
      - type: void
  - name: thrd_detach
    standards:
      - stdc
    return_type: int
    arguments:
      - type: thrd_t
  - name: thrd_equal
    standards:
      - stdc
    return_type: int
    arguments:
      - type: thrd_t
      - type: thrd_t
  - name: thrd_exit
    standards:
      - stdc
    return_type: void
    arguments:
      - type: int
  - name: thrd_join
    standards:
      - stdc
    return_type: int
    arguments:
      - type: thrd_t
      - type: int *
  - name: tss_create
    standards:
      - stdc
    return_type: int
    arguments:
      - type: tss_t *
      - type: tss_dtor_t
  - name: tss_delete
    standards:
      - stdc
    return_type: int
    arguments:
      - type: tss_t
  - name: tss_get
    standards:
      - stdc
    return_type: void *
    arguments:
      - type: tss_t
  - name: tss_set
    standards:
      - stdc
    return_type: int
    arguments:
      - type: tss_t
      - type: void *