Home
last modified time | relevance | path

Searched refs:thrd_t (Results 1 – 4 of 4) sorted by relevance

/bionic/tests/headers/posix/
Dthreads_h.c42 TYPE(thrd_t); in threads_h()
70 FUNCTION(thrd_create, int (*f)(thrd_t*, thrd_start_t, void*)); in threads_h()
71 FUNCTION(thrd_current, thrd_t (*f)(void)); in threads_h()
72 FUNCTION(thrd_detach, int (*f)(thrd_t)); in threads_h()
73 FUNCTION(thrd_equal, int (*f)(thrd_t, thrd_t)); in threads_h()
75 FUNCTION(thrd_join, int (*f)(thrd_t, int*)); in threads_h()
/bionic/libc/include/
Dthreads.h47 typedef pthread_t thrd_t; typedef
158 int thrd_create(thrd_t* _Nonnull __thrd, thrd_start_t _Nonnull __function, void* _Nullable __arg) _…
163 thrd_t thrd_current(void) __INTRODUCED_IN(30);
168 int thrd_detach(thrd_t __thrd) __INTRODUCED_IN(30);
173 int thrd_equal(thrd_t __lhs, thrd_t __rhs) __INTRODUCED_IN(30);
184 int thrd_join(thrd_t __thrd, int* _Nullable __result) __INTRODUCED_IN(30);
/bionic/libc/include/bits/
Dthreads_inlines.h135 __BIONIC_THREADS_INLINE int thrd_create(thrd_t* __thrd, in thrd_create()
150 __BIONIC_THREADS_INLINE thrd_t thrd_current(void) { in thrd_current()
154 __BIONIC_THREADS_INLINE int thrd_detach(thrd_t __thrd) { in thrd_detach()
158 __BIONIC_THREADS_INLINE int thrd_equal(thrd_t __lhs, thrd_t __rhs) { in thrd_equal()
167 __BIONIC_THREADS_INLINE int thrd_join(thrd_t __thrd, int* __result) { in thrd_join()
/bionic/tests/
Dthreads_test.cpp320 thrd_t t1 = thrd_current(); in TEST()
323 thrd_t t2 = thrd_current(); in TEST()
325 thrd_t t2_2 = thrd_current(); in TEST()
328 thrd_t t1_2 = thrd_current(); in TEST()
337 thrd_t t; in TEST()
349 thrd_t t; in TEST()
384 thrd_t t; in TEST()