Home
last modified time | relevance | path

Searched refs:pthread_t (Results 1 – 25 of 50) sorted by relevance

12

/bionic/tests/headers/posix/
Dpthread_h.c87 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 …]
Dsys_types_h.c61 TYPE(pthread_t); in sys_types_h()
/bionic/libc/include/
Dpthread.h157 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 …]
Dsignal.h111 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/
Dpthread_self.cpp31 pthread_t pthread_self() { in pthread_self()
32 return reinterpret_cast<pthread_t>(__get_thread()); in pthread_self()
Dpthread_equal.cpp31 int pthread_equal(pthread_t lhs, pthread_t rhs) { in pthread_equal()
Dpthread_setname_np.cpp46 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()
Dpthread_setschedparam.cpp38 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()
Dpthread_internal.cpp49 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()
Dpthread_internal.h206 __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);
Dpthread_gettid_np.cpp33 pid_t pthread_gettid_np(pthread_t t) { in pthread_gettid_np()
Dpthread_kill.cpp37 int pthread_kill(pthread_t t, int sig) { in pthread_kill()
Dpthread_getcpuclockid.cpp35 int pthread_getcpuclockid(pthread_t t, clockid_t* clockid) { in pthread_getcpuclockid()
Dpthread_getschedparam.cpp36 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam()
Dpthread_detach.cpp36 int pthread_detach(pthread_t t) { in pthread_detach()
Dpthread_sigqueue.cpp40 int pthread_sigqueue(pthread_t t, int sig, const union sigval value) { in pthread_sigqueue()
Dpthread_join.cpp37 int pthread_join(pthread_t t, void** return_value) { in pthread_join()
/bionic/tests/
Dbug_26110743_test.cpp52 pthread_t t; in TEST()
67 pthread_t t; in TEST()
97 pthread_t t; in TEST()
112 pthread_t t; in TEST()
Dpthread_test.cpp178 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.cpp47 pthread_t t; in TEST()
121 pthread_t t; in TEST()
Dleak_test.cpp116 pthread_t thread; in TEST()
156 pthread_t thread; in TEST()
Dandroid_unsafe_frame_pointer_chase_test.cpp97 pthread_t t; in TEST()
139 pthread_t t; in TEST()
Dsemaphore_test.cpp86 pthread_t t1, t2, t3; in TEST()
229 pthread_t thread; in TEST()
252 pthread_t thread; in TEST()
/bionic/benchmarks/
Dpthread_benchmark.cpp23 /* 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/
Dpthread_types.h104 typedef long pthread_t; typedef

12