/bionic/tests/headers/posix/ |
D | pthread_h.c | 87 TYPE(pthread_t); in pthread_h() 116 FUNCTION(pthread_cancel, int (*f)(pthread_t)); in pthread_h() 130 FUNCTION(pthread_create, int (*f)(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)); in pthread_h() 131 FUNCTION(pthread_detach, int (*f)(pthread_t)); in pthread_h() 132 FUNCTION(pthread_equal, int (*f)(pthread_t, pthread_t)); in pthread_h() 137 FUNCTION(pthread_getcpuclockid, int (*f)(pthread_t, clockid_t*)); in pthread_h() 138 FUNCTION(pthread_getschedparam, int (*f)(pthread_t, int*, struct sched_param*)); in pthread_h() 140 FUNCTION(pthread_join, int (*f)(pthread_t, void**)); in pthread_h() 192 FUNCTION(pthread_self, pthread_t (*f)(void)); in pthread_h() 200 FUNCTION(pthread_setschedparam, int (*f)(pthread_t, int, const struct sched_param*)); in pthread_h() [all …]
|
D | sys_types_h.c | 61 TYPE(pthread_t); in sys_types_h()
|
/bionic/libc/include/ |
D | pthread.h | 157 int pthread_create(pthread_t* _Nonnull __pthread_ptr, pthread_attr_t const* _Nullable __attr, void*… 162 int pthread_detach(pthread_t __pthread); 165 int pthread_equal(pthread_t __lhs, pthread_t __rhs); 167 int pthread_getattr_np(pthread_t __pthread, pthread_attr_t* _Nonnull __attr); 169 int pthread_getcpuclockid(pthread_t __pthread, clockid_t* _Nonnull __clock); 173 pid_t pthread_gettid_np(pthread_t __pthread); 175 int pthread_join(pthread_t __pthread, void* _Nullable * _Nullable __return_value_ptr); 283 pthread_t pthread_self(void) __attribute_const__; 286 int pthread_getname_np(pthread_t __pthread, char* _Nonnull __buf, size_t __n) __INTRODUCED_IN(26); 289 int pthread_setname_np(pthread_t __pthread, const char* _Nonnull __name); [all …]
|
D | signal.h | 111 int pthread_kill(pthread_t __pthread, int __signal); 113 int pthread_sigqueue(pthread_t __pthread, int __signal, const union sigval __value) __INTRODUCED_IN…
|
/bionic/libc/bionic/ |
D | pthread_self.cpp | 31 pthread_t pthread_self() { in pthread_self() 32 return reinterpret_cast<pthread_t>(__get_thread()); in pthread_self()
|
D | pthread_equal.cpp | 31 int pthread_equal(pthread_t lhs, pthread_t rhs) { in pthread_equal()
|
D | pthread_setname_np.cpp | 46 static int __open_task_comm_fd(pthread_t t, int flags, const char* caller) { in __open_task_comm_fd() 54 int pthread_getname_np(pthread_t t, char* buf, size_t buf_size) { in pthread_getname_np() 86 int pthread_setname_np(pthread_t t, const char* thread_name) { in pthread_setname_np()
|
D | pthread_setschedparam.cpp | 38 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { in pthread_setschedparam() 48 int pthread_setschedprio(pthread_t t, int priority) { in pthread_setschedprio()
|
D | pthread_internal.cpp | 49 pthread_t __pthread_internal_add(pthread_internal_t* thread) { in __pthread_internal_add() 59 return reinterpret_cast<pthread_t>(thread); in __pthread_internal_add() 87 pid_t __pthread_internal_gettid(pthread_t thread_id, const char* caller) { in __pthread_internal_gettid() 92 pthread_internal_t* __pthread_internal_find(pthread_t thread_id, const char* caller) { in __pthread_internal_find()
|
D | pthread_internal.h | 206 __LIBC_HIDDEN__ pthread_t __pthread_internal_add(pthread_internal_t* thread); 207 __LIBC_HIDDEN__ pthread_internal_t* __pthread_internal_find(pthread_t pthread_id, const char* calle… 208 __LIBC_HIDDEN__ pid_t __pthread_internal_gettid(pthread_t pthread_id, const char* caller);
|
D | pthread_gettid_np.cpp | 33 pid_t pthread_gettid_np(pthread_t t) { in pthread_gettid_np()
|
D | pthread_kill.cpp | 37 int pthread_kill(pthread_t t, int sig) { in pthread_kill()
|
D | pthread_getcpuclockid.cpp | 35 int pthread_getcpuclockid(pthread_t t, clockid_t* clockid) { in pthread_getcpuclockid()
|
D | pthread_getschedparam.cpp | 36 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam()
|
D | pthread_detach.cpp | 36 int pthread_detach(pthread_t t) { in pthread_detach()
|
D | pthread_sigqueue.cpp | 40 int pthread_sigqueue(pthread_t t, int sig, const union sigval value) { in pthread_sigqueue()
|
D | pthread_join.cpp | 37 int pthread_join(pthread_t t, void** return_value) { in pthread_join()
|
/bionic/tests/ |
D | bug_26110743_test.cpp | 52 pthread_t t; in TEST() 67 pthread_t t; in TEST() 97 pthread_t t; in TEST() 112 pthread_t t; in TEST()
|
D | pthread_test.cpp | 178 pthread_t t; in TEST() 206 pthread_t t; in TEST() 262 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), nullptr)); in JoinFn() 265 static void AssertDetached(pthread_t t, bool is_detached) { in AssertDetached() 274 static void MakeDeadThread(pthread_t& t) { in MakeDeadThread() 282 pthread_t t; in TEST() 295 pthread_t t; in TEST() 302 pthread_t t1; in TEST() 316 pthread_t t1; in TEST() 320 pthread_t t2; in TEST() [all …]
|
D | __cxa_thread_atexit_test.cpp | 47 pthread_t t; in TEST() 121 pthread_t t; in TEST()
|
D | leak_test.cpp | 116 pthread_t thread; in TEST() 156 pthread_t thread; in TEST()
|
D | android_unsafe_frame_pointer_chase_test.cpp | 97 pthread_t t; in TEST() 139 pthread_t t; in TEST()
|
D | semaphore_test.cpp | 86 pthread_t t1, t2, t3; in TEST() 229 pthread_t thread; in TEST() 252 pthread_t thread; in TEST()
|
/bionic/benchmarks/ |
D | pthread_benchmark.cpp | 23 /* Must not be static! */ pthread_t (*pthread_self_fp)() = pthread_self; 183 pthread_t thread; in BM_pthread_create() 198 pthread_t thread; in BM_pthread_create_and_run() 211 pthread_t thread; in BM_pthread_exit_and_join()
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 104 typedef long pthread_t; typedef
|