/bionic/libc/include/ |
D | pthread.h | 154 int pthread_create(pthread_t* __pthread_ptr, pthread_attr_t const* __attr, void* (*__start_routine)… 159 int pthread_detach(pthread_t __pthread); 162 int pthread_equal(pthread_t __lhs, pthread_t __rhs); 164 int pthread_getattr_np(pthread_t __pthread, pthread_attr_t* __attr); 166 int pthread_getcpuclockid(pthread_t __pthread, clockid_t* __clock); 168 int pthread_getschedparam(pthread_t __pthread, int* __policy, struct sched_param* __param); 172 pid_t pthread_gettid_np(pthread_t __pthread) __INTRODUCED_IN(21); 174 int pthread_join(pthread_t __pthread, void** __return_value_ptr); 278 pthread_t pthread_self(void) __attribute_const__; 281 int pthread_getname_np(pthread_t __pthread, char* __buf, size_t __n) __INTRODUCED_IN(26); [all …]
|
D | signal.h | 115 int pthread_kill(pthread_t __pthread, int __signal); 117 int pthread_sigqueue(pthread_t __pthread, int __signal, const union sigval __value) __INTRODUCED_IN…
|
/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/tests/ |
D | pthread_test.cpp | 173 pthread_t t; in TEST() 233 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), nullptr)); in JoinFn() 236 static void AssertDetached(pthread_t t, bool is_detached) { in AssertDetached() 245 static void MakeDeadThread(pthread_t& t) { in MakeDeadThread() 253 pthread_t t; in TEST() 266 pthread_t t; in TEST() 273 pthread_t t1; in TEST() 287 pthread_t t1; in TEST() 291 pthread_t t2; in TEST() 316 pthread_t main_thread; [all …]
|
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 | leak_test.cpp | 117 pthread_t thread; in TEST() 149 pthread_t thread; in TEST()
|
D | __cxa_thread_atexit_test.cpp | 47 pthread_t t; in TEST() 121 pthread_t t; in TEST()
|
D | semaphore_test.cpp | 80 pthread_t t1, t2, t3; in TEST() 221 pthread_t thread; in TEST() 244 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()
|
/bionic/libc/bionic/ |
D | pthread_internal.cpp | 45 pthread_t __pthread_internal_add(pthread_internal_t* thread) { in __pthread_internal_add() 55 return reinterpret_cast<pthread_t>(thread); in __pthread_internal_add() 83 pid_t __pthread_internal_gettid(pthread_t thread_id, const char* caller) { in __pthread_internal_gettid() 88 pthread_internal_t* __pthread_internal_find(pthread_t thread_id, const char* caller) { in __pthread_internal_find()
|
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_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_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.h | 182 __LIBC_HIDDEN__ pthread_t __pthread_internal_add(pthread_internal_t* thread); 183 __LIBC_HIDDEN__ pthread_internal_t* __pthread_internal_find(pthread_t pthread_id, const char* calle… 184 __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/benchmarks/ |
D | pthread_benchmark.cpp | 23 /* Must not be static! */ pthread_t (*pthread_self_fp)() = pthread_self; 179 pthread_t thread; in BM_pthread_create() 194 pthread_t thread; in BM_pthread_create_and_run() 207 pthread_t thread; in BM_pthread_exit_and_join()
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 104 typedef long pthread_t; typedef
|