Home
last modified time | relevance | path

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

12

/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.cpp45 static int __open_task_comm_fd(pthread_t t, int flags) { in __open_task_comm_fd()
51 int pthread_getname_np(pthread_t t, char* buf, size_t buf_size) { in pthread_getname_np()
82 int pthread_setname_np(pthread_t t, const char* thread_name) { in pthread_setname_np()
Dpthread_internal.cpp63 pthread_t __pthread_internal_add(pthread_internal_t* thread) { in __pthread_internal_add()
73 return reinterpret_cast<pthread_t>(thread); in __pthread_internal_add()
101 pthread_internal_t* __pthread_internal_find(pthread_t thread_id) { in __pthread_internal_find()
Dpthread_gettid_np.cpp31 pid_t pthread_gettid_np(pthread_t t) { in pthread_gettid_np()
Dpthread_kill.cpp35 int pthread_kill(pthread_t t, int sig) { in pthread_kill()
Dpthread_setschedparam.cpp34 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { in pthread_setschedparam()
Dpthread_getcpuclockid.cpp33 int pthread_getcpuclockid(pthread_t t, clockid_t* clockid) { in pthread_getcpuclockid()
Dpthread_getschedparam.cpp34 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam()
Dpthread_detach.cpp34 int pthread_detach(pthread_t t) { in pthread_detach()
Dpthread_internal.h122 __LIBC_HIDDEN__ pthread_t __pthread_internal_add(pthread_internal_t* thread);
123 __LIBC_HIDDEN__ pthread_internal_t* __pthread_internal_find(pthread_t pthread_id);
Dpthread_join.cpp34 int pthread_join(pthread_t t, void** return_value) { in pthread_join()
Dposix_timers.cpp64 pthread_t callback_thread;
/bionic/libc/include/
Dpthread.h126 int pthread_create(pthread_t* _Nonnull, pthread_attr_t const*,
128 int pthread_detach(pthread_t);
131 int pthread_equal(pthread_t, pthread_t);
133 int pthread_getattr_np(pthread_t, pthread_attr_t* _Nonnull);
135 int pthread_getcpuclockid(pthread_t, clockid_t* _Nonnull);
137 int pthread_getschedparam(pthread_t, int* _Nonnull, struct sched_param* _Nonnull);
141 pid_t pthread_gettid_np(pthread_t) __INTRODUCED_IN(21);
143 int pthread_join(pthread_t, void**);
227 pthread_t pthread_self(void) __attribute_const__;
230 int pthread_getname_np(pthread_t, char* _Nonnull, size_t) __INTRODUCED_IN(26);
[all …]
Dsignal.h160 int pthread_kill(pthread_t, int);
/bionic/tests/
Dbug_26110743_test.cpp49 pthread_t t; in TEST()
64 pthread_t t; in TEST()
93 pthread_t t; in TEST()
108 pthread_t t; in TEST()
Dpthread_test.cpp169 pthread_t t; in TEST()
227 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), NULL)); in JoinFn()
230 static void AssertDetached(pthread_t t, bool is_detached) { in AssertDetached()
239 static void MakeDeadThread(pthread_t& t) { in MakeDeadThread()
247 pthread_t t; in TEST()
260 pthread_t t; in TEST()
267 pthread_t t1; in TEST()
281 pthread_t t1; in TEST()
285 pthread_t t2; in TEST()
310 pthread_t main_thread;
[all …]
Dleak_test.cpp108 pthread_t thread; in TEST()
138 pthread_t thread; in TEST()
D__cxa_thread_atexit_test.cpp47 pthread_t t; in TEST()
121 pthread_t t; in TEST()
Dsemaphore_test.cpp80 pthread_t t1, t2, t3; in TEST()
195 pthread_t thread; in TEST()
218 pthread_t thread; in TEST()
Dstack_protector_test.cpp76 pthread_t t; in TEST()
Dstdio_ext_test.cpp155 pthread_t thread; in TEST()
/bionic/benchmarks/
Dpthread_benchmark.cpp22 /* Must not be static! */ pthread_t (*pthread_self_fp)() = pthread_self;
130 pthread_t thread; in BM_pthread_create()
147 pthread_t thread; in BM_pthread_create_and_run()
164 pthread_t thread; in BM_pthread_exit_and_join()
Dsemaphore_benchmark.cpp92 pthread_t pthread; in SetUp()
/bionic/libc/include/bits/
Dpthread_types.h105 typedef long pthread_t; typedef

12