2024-06-28 08:59:08 -07:00
|
|
|
header: pthread.h
|
2025-01-07 15:56:12 -08:00
|
|
|
header_template: pthread.h.def
|
2024-06-28 08:59:08 -07:00
|
|
|
macros: []
|
|
|
|
types:
|
|
|
|
- type_name: pthread_t
|
|
|
|
- type_name: pthread_once_t
|
|
|
|
- type_name: pthread_mutex_t
|
|
|
|
- type_name: pthread_mutexattr_t
|
|
|
|
- type_name: pthread_key_t
|
|
|
|
- type_name: pthread_condattr_t
|
|
|
|
- type_name: __pthread_tss_dtor_t
|
2024-07-17 23:34:53 +00:00
|
|
|
- type_name: pthread_rwlock_t
|
2024-06-28 08:59:08 -07:00
|
|
|
- type_name: pthread_rwlockattr_t
|
|
|
|
- type_name: pthread_attr_t
|
|
|
|
- type_name: __pthread_start_t
|
|
|
|
- type_name: __pthread_once_func_t
|
|
|
|
- type_name: __atfork_callback_t
|
2024-08-06 21:02:54 -07:00
|
|
|
- type_name: pthread_spinlock_t
|
2024-07-16 12:44:08 -07:00
|
|
|
enums: []
|
2024-06-28 08:59:08 -07:00
|
|
|
functions:
|
|
|
|
- name: pthread_atfork
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: __atfork_callback_t
|
|
|
|
- type: __atfork_callback_t
|
|
|
|
- type: __atfork_callback_t
|
|
|
|
- name: pthread_attr_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_attr_t *
|
|
|
|
- name: pthread_attr_getdetachstate
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: const pthread_attr_t *
|
|
|
|
- type: int *
|
|
|
|
- name: pthread_attr_getguardsize
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_attr_t *__restrict
|
|
|
|
- type: size_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_attr_getstack
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_attr_t *__restrict
|
|
|
|
- type: void **__restrict
|
|
|
|
- type: size_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_attr_getstacksize
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_attr_t *__restrict
|
|
|
|
- type: size_t *__restrict
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: pthread_attr_init
|
|
|
|
standards:
|
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_attr_t *
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_attr_setdetachstate
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_attr_t *
|
|
|
|
- type: int
|
|
|
|
- name: pthread_attr_setguardsize
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_attr_t *
|
|
|
|
- type: size_t
|
|
|
|
- name: pthread_attr_setstack
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_attr_t *
|
|
|
|
- type: void *
|
|
|
|
- type: size_t
|
|
|
|
- name: pthread_attr_setstacksize
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_attr_t *
|
|
|
|
- type: size_t
|
|
|
|
- name: pthread_condattr_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_condattr_t *
|
|
|
|
- name: pthread_condattr_getclock
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_condattr_t *__restrict
|
2024-07-17 23:34:53 +00:00
|
|
|
- type: clockid_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_condattr_getpshared
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_condattr_t *__restrict
|
|
|
|
- type: int *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_condattr_init
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_condattr_t *
|
|
|
|
- name: pthread_condattr_setclock
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_condattr_t *
|
|
|
|
- type: clockid_t
|
|
|
|
- name: pthread_condattr_setpshared
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_condattr_t *
|
|
|
|
- type: int
|
|
|
|
- name: pthread_create
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: pthread_t *__restrict
|
|
|
|
- type: const pthread_attr_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- type: __pthread_start_t
|
|
|
|
- type: void *
|
|
|
|
- name: pthread_detach
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_t
|
|
|
|
- name: pthread_equal
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_t
|
|
|
|
- type: pthread_t
|
|
|
|
- name: pthread_exit
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
2024-07-16 12:44:08 -07:00
|
|
|
return_type: _Noreturn void
|
2024-06-28 08:59:08 -07:00
|
|
|
arguments:
|
|
|
|
- type: void *
|
|
|
|
- name: pthread_getname_np
|
|
|
|
standards:
|
|
|
|
- GNUExtensions
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_t
|
|
|
|
- type: char *
|
|
|
|
- type: size_t
|
|
|
|
- name: pthread_getspecific
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: void *
|
|
|
|
arguments:
|
|
|
|
- type: pthread_key_t
|
|
|
|
- name: pthread_join
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_t
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: void **
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_key_create
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_key_t *
|
|
|
|
- type: __pthread_tss_dtor_t
|
|
|
|
- name: pthread_key_delete
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_key_t
|
|
|
|
- name: pthread_mutex_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_mutex_t *
|
|
|
|
- name: pthread_mutex_init
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: pthread_mutex_t *__restrict
|
|
|
|
- type: const pthread_mutexattr_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_mutex_lock
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_mutex_t *
|
|
|
|
- name: pthread_mutex_unlock
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_mutex_t *
|
|
|
|
- name: pthread_mutexattr_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_mutexattr_t *
|
|
|
|
- name: pthread_mutexattr_getpshared
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_mutexattr_t *__restrict
|
|
|
|
- type: int *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_mutexattr_getrobust
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_mutexattr_t *__restrict
|
|
|
|
- type: int *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_mutexattr_gettype
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: const pthread_mutexattr_t *__restrict
|
|
|
|
- type: int *__restrict
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: pthread_mutexattr_init
|
|
|
|
standards:
|
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_mutexattr_t *
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_mutexattr_setpshared
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: pthread_mutexattr_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- type: int
|
|
|
|
- name: pthread_mutexattr_setrobust
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: pthread_mutexattr_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- type: int
|
|
|
|
- name: pthread_mutexattr_settype
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-07-08 15:41:25 -07:00
|
|
|
- type: pthread_mutexattr_t *__restrict
|
2024-06-28 08:59:08 -07:00
|
|
|
- type: int
|
|
|
|
- name: pthread_once
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_once_t *
|
|
|
|
- type: __pthread_once_func_t
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: pthread_rwlock_clockrdlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *__restrict
|
|
|
|
- type: clockid_t
|
|
|
|
- type: const struct timespec *__restrict
|
|
|
|
- name: pthread_rwlock_clockwrlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *__restrict
|
|
|
|
- type: clockid_t
|
|
|
|
- type: const struct timespec *__restrict
|
|
|
|
- name: pthread_rwlock_destroy
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
|
|
|
- name: pthread_rwlock_init
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
|
|
|
- type: const pthread_rwlockattr_t *__restrict
|
|
|
|
- name: pthread_rwlock_rdlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
|
|
|
- name: pthread_rwlock_timedrdlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *__restrict
|
|
|
|
- type: const struct timespec *__restrict
|
|
|
|
- name: pthread_rwlock_timedwrlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *__restrict
|
|
|
|
- type: const struct timespec *__restrict
|
|
|
|
- name: pthread_rwlock_tryrdlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
|
|
|
- name: pthread_rwlock_trywrlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
|
|
|
- name: pthread_rwlock_unlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
|
|
|
- name: pthread_rwlock_wrlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlock_t *
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_rwlockattr_destroy
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
|
|
|
- POSIX
|
2024-06-28 08:59:08 -07:00
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlockattr_t *
|
|
|
|
- name: pthread_rwlockattr_getkind_np
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlockattr_t *
|
|
|
|
- type: int *
|
|
|
|
- name: pthread_rwlockattr_getpshared
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: const pthread_rwlockattr_t *
|
|
|
|
- type: int *
|
|
|
|
- name: pthread_rwlockattr_init
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlockattr_t *
|
|
|
|
- name: pthread_rwlockattr_setkind_np
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlockattr_t *
|
|
|
|
- type: int
|
|
|
|
- name: pthread_rwlockattr_setpshared
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_rwlockattr_t *
|
|
|
|
- type: int
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: pthread_self
|
|
|
|
standards:
|
|
|
|
- POSIX
|
|
|
|
return_type: pthread_t
|
|
|
|
arguments:
|
|
|
|
- type: void
|
|
|
|
- name: pthread_setname_np
|
|
|
|
standards:
|
|
|
|
- GNUExtensions
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_t
|
|
|
|
- type: const char *
|
2024-06-28 08:59:08 -07:00
|
|
|
- name: pthread_setspecific
|
2024-08-05 12:48:05 -07:00
|
|
|
standards:
|
2024-06-28 08:59:08 -07:00
|
|
|
- POSIX
|
2025-01-23 23:31:39 +05:30
|
|
|
return_type: int
|
2024-06-28 08:59:08 -07:00
|
|
|
arguments:
|
|
|
|
- type: pthread_key_t
|
|
|
|
- type: const void *
|
2024-08-09 11:27:36 -07:00
|
|
|
- name: pthread_spin_destroy
|
2024-07-03 21:40:20 +00:00
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
2024-08-09 11:27:36 -07:00
|
|
|
- type: pthread_spinlock_t *
|
2024-08-06 21:02:54 -07:00
|
|
|
- name: pthread_spin_init
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_spinlock_t *
|
|
|
|
- type: int
|
|
|
|
- name: pthread_spin_lock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_spinlock_t *
|
|
|
|
- name: pthread_spin_trylock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_spinlock_t *
|
|
|
|
- name: pthread_spin_unlock
|
|
|
|
standards: POSIX
|
|
|
|
return_type: int
|
|
|
|
arguments:
|
|
|
|
- type: pthread_spinlock_t *
|