/third_party/musl/include/ |
D | pthread.h | 77 #define PTHREAD_NULL ((pthread_t)0) 80 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 81 int pthread_detach(pthread_t); 83 int pthread_join(pthread_t, void **); 88 pthread_t pthread_self(void); 90 int pthread_equal(pthread_t, pthread_t); 98 int pthread_cancel(pthread_t); 100 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 101 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 102 int pthread_setschedprio(pthread_t, int); [all …]
|
/third_party/musl/porting/linux/user/include/ |
D | pthread.h | 88 #define PTHREAD_NULL ((pthread_t)0) 91 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 92 int pthread_detach(pthread_t); 94 int pthread_join(pthread_t, void **); 95 pid_t pthread_gettid_np(pthread_t); 100 pthread_t pthread_self(void); 102 int pthread_equal(pthread_t, pthread_t); 110 int pthread_cancel(pthread_t); 112 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 113 int pthread_setschedparam(pthread_t, int, const struct sched_param *); [all …]
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | pthread.h | 84 #define PTHREAD_NULL ((pthread_t)0) 87 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 88 int pthread_detach(pthread_t); 90 int pthread_join(pthread_t, void **); 95 pthread_t pthread_self(void); 97 int pthread_equal(pthread_t, pthread_t); 102 int pthread_cancel(pthread_t); 104 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 105 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 106 int pthread_setschedprio(pthread_t, int); [all …]
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | pthread.h | 84 #define PTHREAD_NULL ((pthread_t)0) 87 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 88 int pthread_detach(pthread_t); 90 int pthread_join(pthread_t, void **); 95 pthread_t pthread_self(void); 97 int pthread_equal(pthread_t, pthread_t); 102 int pthread_cancel(pthread_t); 104 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 105 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 106 int pthread_setschedprio(pthread_t, int); [all …]
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | pthread.h | 84 #define PTHREAD_NULL ((pthread_t)0) 87 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 88 int pthread_detach(pthread_t); 90 int pthread_join(pthread_t, void **); 95 pthread_t pthread_self(void); 97 int pthread_equal(pthread_t, pthread_t); 102 int pthread_cancel(pthread_t); 104 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 105 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 106 int pthread_setschedprio(pthread_t, int); [all …]
|
/third_party/musl/porting/liteos_m/user/include/ |
D | pthread.h | 77 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 78 int pthread_detach(pthread_t); 80 int pthread_join(pthread_t, void **); 85 pthread_t pthread_self(void); 87 int pthread_equal(pthread_t, pthread_t); 95 int pthread_cancel(pthread_t); 97 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 98 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 99 int pthread_setschedprio(pthread_t, int); 201 int pthread_getcpuclockid(pthread_t, clockid_t *); [all …]
|
D | usr_lib.h | 20 USR_LIBC_FUNC_DEF(int, pthread_create, pthread_t *thread, const pthread_attr_t *attr, void *(*start… 21 USR_LIBC_FUNC_DEF(int, pthread_setschedparam, pthread_t thread, int policy, const struct sched_para… 22 USR_LIBC_FUNC_DEF(int, pthread_getschedparam, pthread_t thread, int *policy, struct sched_param *pa… 23 USR_LIBC_FUNC_DEF(pthread_t, pthread_self, void) 24 USR_LIBC_FUNC_DEF(int, pthread_cancel, pthread_t thread) 25 USR_LIBC_FUNC_DEF(int, pthread_join, pthread_t thread, void **retval) 26 USR_LIBC_FUNC_DEF(int, pthread_detach, pthread_t thread)
|
D | usr_lib_ops.h | 58 …int (*pthread_create)(pthread_t *thread, const pthread_attr_t *attr, void *(*startRoutine)(void *)… 59 int (*pthread_setschedparam)(pthread_t thread, int policy, const struct sched_param *param); 60 int (*pthread_getschedparam)(pthread_t thread, int *policy, struct sched_param *param); 61 pthread_t (*pthread_self)(void); 62 int (*pthread_cancel)(pthread_t thread); 63 int (*pthread_join)(pthread_t thread, void **retval); 64 int (*pthread_detach)(pthread_t thread); 66 int (*pthread_setname_np)(pthread_t thread, const char *name); 67 int (*pthread_getname_np)(pthread_t thread, char *buf, size_t buflen);
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
D | thread_pthrd_test.cpp | 84 pthread_t thread; 96 pthread_t deadThread; 110 pthread_t nullThread = 0; 121 pthread_t deadThread; 135 pthread_t nullThread = 0; 178 pthread_t signalThread; 200 pthread_t thread; 224 pthread_t thread; 285 pthread_t nullThread = 0; 296 pthread_t deadThread; [all …]
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | pthread.h | 148 #define PTHREAD_NULL ((pthread_t)0) 151 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 152 int pthread_detach(pthread_t); 154 int pthread_join(pthread_t, void **); 159 pthread_t pthread_self(void); 161 int pthread_equal(pthread_t, pthread_t); 166 int pthread_cancel(pthread_t); 168 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 169 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 170 int pthread_setschedprio(pthread_t, int); [all …]
|
/third_party/musl/ndk_musl_include/ |
D | pthread.h | 88 int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict, void *(*)(void *), void… 89 int pthread_detach(pthread_t); 91 int pthread_join(pthread_t, void **); 92 pid_t pthread_gettid_np(pthread_t); 97 pthread_t pthread_self(void); 99 int pthread_equal(pthread_t, pthread_t); 104 int pthread_getschedparam(pthread_t, int *__restrict, struct sched_param *__restrict); 105 int pthread_setschedparam(pthread_t, int, const struct sched_param *); 106 int pthread_setschedprio(pthread_t, int); 347 int pthread_getcpuclockid(pthread_t, clockid_t *); [all …]
|
/third_party/musl/libc-test/src/api/ |
D | pthread.c | 18 T(pthread_t) in f() 75 {int(*p)(pthread_t) = pthread_cancel;} in f() 94 {int(*p)(pthread_t*restrict,const pthread_attr_t*restrict,void*(*)(void*),void*restrict) = pthread_… in f() 95 {int(*p)(pthread_t) = pthread_detach;} in f() 96 {int(*p)(pthread_t,pthread_t) = pthread_equal;} in f() 99 {int(*p)(pthread_t,void**) = pthread_join;} in f() 133 {pthread_t(*p)(void) = pthread_self;} in f() 140 {int(*p)(pthread_t,int) = pthread_setschedprio;} in f() 161 {int(*p)(pthread_t,int*restrict,struct sched_param*restrict) = pthread_getschedparam;} in f() 162 {int(*p)(pthread_t,int,const struct sched_param*) = pthread_setschedparam;} in f() [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | dl_multithread_test.c | 37 pthread_t thd1; in main() 38 pthread_t thd2; in main() 39 pthread_t thd3; in main() 40 pthread_t thd4; in main() 41 pthread_t thd5; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_kill/ |
D | stress.c | 132 ret = pthread_kill(*(pthread_t *) arg, SIGABRT); in flooder_1() 148 ret = pthread_kill(*(pthread_t *) arg, SIGBUS); in flooder_2() 196 ret = pthread_kill(*(pthread_t *) arg, SIGILL); in sync_send() 223 pthread_t fl_rec; in main() 224 pthread_t fl_snd1, fl_snd2; in main() 227 pthread_t sy_rec; in main() 228 pthread_t sy_snd; in main()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | pthread_join.c | 5 static void dummy1(pthread_t t) in dummy1() 10 static int __pthread_timedjoin_np(pthread_t t, void **res, const struct timespec *at) in __pthread_timedjoin_np() 14 pthread_t self = __pthread_self(); in __pthread_timedjoin_np() 46 int __pthread_join(pthread_t t, void **res) in __pthread_join() 51 static int __pthread_tryjoin_np(pthread_t t, void **res) in __pthread_tryjoin_np()
|
D | pthread_cancel.c | 10 pthread_t self = __pthread_self(); in __cancel() 25 pthread_t self; in __syscall_cp_c() 50 pthread_t self = __pthread_self(); in cancel_handler() 60 pthread_t self = __pthread_self(); in __testcancel() 75 int pthread_cancel(pthread_t t) in pthread_cancel()
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_cancel.c | 11 pthread_t self = __pthread_self(); in __cancel() 26 pthread_t self; in __syscall_cp_c() 51 pthread_t self = __pthread_self(); in cancel_handler() 73 pthread_t self = __pthread_self(); in __testcancel() 88 int pthread_cancel(pthread_t t) in pthread_cancel() 108 int pthread_cancel(pthread_t t) in pthread_cancel()
|
/third_party/ffmpeg/compat/ |
D | w32pthreads.h | 49 typedef struct pthread_t { struct 54 } pthread_t; argument 71 pthread_t *h = (pthread_t*)arg; in win32thread_worker() 76 static av_unused int pthread_create(pthread_t *thread, const void *unused_attr, in pthread_create() 91 static av_unused int pthread_join(pthread_t thread, void **value_ptr) in pthread_join()
|
/third_party/musl/libc-test/src/functionalext/thread/ |
D | pthread_mutex_ext.c | 45 pthread_t tid; in pthread_mutex_clocklock_0010() 77 pthread_t tid; in pthread_mutex_clocklock_0020() 113 pthread_t tid; in pthread_mutex_clocklock_0030() 145 pthread_t tid; in pthread_mutex_clocklock_0040() 185 pthread_t tid; in pthread_mutex_clocklock_0050() 217 pthread_t tid; in pthread_mutex_clocklock_0060() 260 pthread_t tid; in pthread_mutex_timedlock_monotonic_np_0010() 292 pthread_t tid; in pthread_mutex_timedlock_monotonic_np_0020() 343 pthread_t tid; in pthread_mutex_lock_timeout_np_0010() 376 pthread_t tid; in pthread_mutex_lock_timeout_np_0020()
|
D | pthread_cond_timedwait.c | 265 pthread_t tid1; in clockwait_timedwait_0010() 266 pthread_t tid2; in clockwait_timedwait_0010() 302 pthread_t tid; in clockwait_timedwait_0020() 343 pthread_t tid1; in clockwait_timedwait_0030() 344 pthread_t tid2; in clockwait_timedwait_0030() 380 pthread_t tid; in clockwait_timedwait_0040() 440 pthread_t tid; in clockwait_timedwait_0050() 441 pthread_t tid1; in clockwait_timedwait_0050() 442 pthread_t tid2; in clockwait_timedwait_0050() 483 pthread_t tid; in clockwait_timedwait_0060() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | pthread_create.c | 45 pthread_t ph; in pthread_create_0100() 59 pthread_t ph; in pthread_create_0200() 72 pthread_t ph; in pthread_create_0300() 89 pthread_t ph; in pthread_create_0400() 117 pthread_t ph; in pthread_create_0500()
|
/third_party/musl/src/thread/ |
D | pthread_join.c | 5 static void dummy1(pthread_t t) in dummy1() 10 static int __pthread_timedjoin_np(pthread_t t, void **res, const struct timespec *at) in __pthread_timedjoin_np() 28 int __pthread_join(pthread_t t, void **res) in __pthread_join() 33 static int __pthread_tryjoin_np(pthread_t t, void **res) in __pthread_tryjoin_np()
|
D | pthread_cancel.c | 10 pthread_t self = __pthread_self(); in __cancel() 25 pthread_t self; in __syscall_cp_c() 50 pthread_t self = __pthread_self(); in cancel_handler() 72 pthread_t self = __pthread_self(); in __testcancel() 87 int pthread_cancel(pthread_t t) in pthread_cancel()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | accept4.c | 261 pthread_t srv; in accept4_0100() 262 pthread_t cli; in accept4_0100() 284 pthread_t srv; in accept4_0200() 285 pthread_t cli; in accept4_0200() 307 pthread_t srv; in accept4_0300() 308 pthread_t cli; in accept4_0300() 344 pthread_t srv; in accept4_0500() 345 pthread_t cli; in accept4_0500() 367 pthread_t srv; in accept4_0600() 368 pthread_t cli; in accept4_0600()
|
/third_party/musl/porting/liteos_m/user/hook/ |
D | los_usr_libc.c | 130 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() 136 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() 141 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() 146 pthread_t pthread_self(void) in pthread_self() 151 int pthread_cancel(pthread_t thread) in pthread_cancel() 156 int pthread_join(pthread_t thread, void **retval) in pthread_join() 161 int pthread_detach(pthread_t thread) in pthread_detach() 171 int pthread_setname_np(pthread_t thread, const char *name) in pthread_setname_np() 176 int pthread_getname_np(pthread_t thread, char *buf, size_t buflen) in pthread_getname_np()
|