2024-06-28 22:42:35 +00:00
|
|
|
header: threads.h
|
2025-01-07 15:56:12 -08:00
|
|
|
header_template: threads.h.def
|
2024-06-28 22:42:35 +00:00
|
|
|
macros:
|
|
|
|
- macro_name: ONCE_FLAG_INIT
|
2024-08-09 11:27:36 -07:00
|
|
|
macro_value: '{0}'
|
2024-06-28 22:42:35 +00:00
|
|
|
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
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: void
|
|
|
|
arguments:
|
|
|
|
- type: once_flag *
|
|
|
|
- type: __call_once_func_t
|
|
|
|
- name: cnd_broadcast
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: cnd_t *
|
|
|
|
- name: cnd_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: void
|
|
|
|
arguments:
|
|
|
|
- type: cnd_t *
|
|
|
|
- name: cnd_init
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: cnd_t *
|
|
|
|
- name: cnd_signal
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: cnd_t *
|
|
|
|
- name: cnd_wait
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: cnd_t *
|
|
|
|
- type: mtx_t *
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: mtx_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-08-09 11:27:36 -07:00
|
|
|
- type: void
|
|
|
|
- name: mtx_init
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-08-09 11:27:36 -07:00
|
|
|
- type: mtx_t *
|
|
|
|
- type: int
|
2024-06-28 22:42:35 +00:00
|
|
|
- name: mtx_lock
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: mtx_t *
|
|
|
|
- name: mtx_unlock
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: mtx_t *
|
|
|
|
- name: thrd_create
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: thrd_t *
|
|
|
|
- type: thrd_start_t
|
|
|
|
- type: void *
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: thrd_current
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
2024-08-09 11:27:36 -07:00
|
|
|
return_type: thrd_t
|
2024-06-28 22:42:35 +00:00
|
|
|
arguments:
|
2024-08-09 11:27:36 -07:00
|
|
|
- type: void
|
2024-06-28 22:42:35 +00:00
|
|
|
- name: thrd_detach
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: thrd_t
|
|
|
|
- name: thrd_equal
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: thrd_t
|
|
|
|
- type: thrd_t
|
|
|
|
- name: thrd_exit
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: void
|
|
|
|
arguments:
|
|
|
|
- type: int
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: thrd_join
|
|
|
|
standards:
|
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: thrd_t
|
|
|
|
- type: int *
|
2024-06-28 22:42:35 +00:00
|
|
|
- name: tss_create
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: tss_t *
|
|
|
|
- type: tss_dtor_t
|
|
|
|
- name: tss_delete
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 22:42:35 +00:00
|
|
|
- stdc
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: tss_t
|
2024-07-08 15:41:25 -07:00
|
|
|
- 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 *
|