Home
last modified time | relevance | path

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

12

/third_party/musl/include/
Dthreads.h9 typedef unsigned long thrd_t; typedef
11 typedef struct __pthread *thrd_t;
43 int thrd_create(thrd_t *, thrd_start_t, void *);
46 int thrd_detach(thrd_t);
47 int thrd_join(thrd_t, int *);
52 thrd_t thrd_current(void);
53 int thrd_equal(thrd_t, thrd_t);
/third_party/musl/ndk_musl_include/
Dthreads.h9 typedef unsigned long thrd_t; typedef
11 typedef struct __pthread *thrd_t;
43 int thrd_create(thrd_t *, thrd_start_t, void *);
46 int thrd_detach(thrd_t);
47 int thrd_join(thrd_t, int *);
52 thrd_t thrd_current(void);
53 int thrd_equal(thrd_t, thrd_t);
/third_party/musl/porting/uniproton/kernel/include/
Dthreads.h9 typedef unsigned long thrd_t; typedef
11 typedef struct __pthread *thrd_t;
43 int thrd_create(thrd_t *, thrd_start_t, void *);
46 int thrd_detach(thrd_t);
47 int thrd_join(thrd_t, int *);
52 thrd_t thrd_current(void);
53 int thrd_equal(thrd_t, thrd_t);
/third_party/musl/porting/liteos_m/kernel/include/
Dthreads.h9 typedef unsigned long thrd_t; typedef
11 typedef struct __pthread *thrd_t;
43 int thrd_create(thrd_t *, thrd_start_t, void *);
46 int thrd_detach(thrd_t);
47 int thrd_join(thrd_t, int *);
52 thrd_t thrd_current(void);
53 int thrd_equal(thrd_t, thrd_t);
/third_party/mesa3d/src/c11/
Dthreads.h105 typedef void *thrd_t; typedef
126 typedef pthread_t thrd_t; typedef
177 int thrd_create(thrd_t *, thrd_start_t, void *);
178 thrd_t thrd_current(void);
179 int thrd_detach(thrd_t);
180 int thrd_equal(thrd_t, thrd_t);
187 int thrd_join(thrd_t, int *);
/third_party/flutter/glfw/deps/
Dtinycthread.h313 typedef HANDLE thrd_t; typedef
315 typedef pthread_t thrd_t; typedef
340 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg);
345 thrd_t thrd_current(void);
349 int thrd_detach(thrd_t thr);
356 int thrd_equal(thrd_t thr0, thrd_t thr1);
372 int thrd_join(thrd_t thr, int *res);
Dtinycthread.c361 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create()
393 thrd_t thrd_current(void) in thrd_current()
402 int thrd_detach(thrd_t thr) in thrd_detach()
409 int thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal()
432 int thrd_join(thrd_t thr, int *res) in thrd_join()
/third_party/mesa3d/src/c11/impl/
Dthreads_win32.c69 static_assert(sizeof(thrd_t) == sizeof(HANDLE), "The size of thrd_t must equal to HANDLE");
311 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create()
327 *thr = (thrd_t)handle; in thrd_create()
333 static inline thrd_t
374 thrd_detach(thrd_t thr) in thrd_detach()
382 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal()
398 thrd_join(thrd_t thr, int *res) in thrd_join()
Dthreads_posix.c255 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create()
271 thrd_t
279 thrd_detach(thrd_t thr) in thrd_detach()
286 thrd_equal(thrd_t thr0, thrd_t thr1) in thrd_equal()
301 thrd_join(thrd_t thr, int *res) in thrd_join()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dmtx_lock.c86 thrd_t tid1; in mtx_lock_0100()
111 thrd_t tid2; in mtx_lock_0200()
136 thrd_t tid3; in mtx_lock_0300()
161 thrd_t tid4; in mtx_lock_0400()
187 thrd_t tid5; in mtx_lock_0500()
Dthrd_current.c21 static thrd_t thr;
27 thrd_t id = thrd_current(); in threadfuncA()
80 thrd_t thr1, thr2; in thrd_current_0200()
Dthrd_equal.c21 static thrd_t thr;
27 thrd_t id = thrd_current(); in threadfuncA()
80 thrd_t thr1, thr2; in thrd_equal_0200()
Dthrd_detach.c46 thrd_t id; in thrd_detach_0100()
74 thrd_t id; in thrd_detach_0200()
Dthrd_join.c41 thrd_t id; in thrd_join_0100()
71 thrd_t id; in thrd_join_0200()
Dthrd_create.c44 thrd_t id; in thrd_create_0100()
75 thrd_t id; in thrd_create_0200()
Dmtx_trylock.c57 thrd_t tid1; in mtx_trylock_0100()
82 thrd_t tid2; in mtx_trylock_0200()
Dcnd_timedwait.c47 thrd_t id; in cnd_timedwait_0100()
91 thrd_t id; in cnd_timedwait_time64_0100()
Dmtx_unlock.c44 thrd_t tid1; in mtx_unlock_0100()
Dcnd_wait.c38 thrd_t id1; in cnd_wait_0100()
Dcnd_signal.c38 thrd_t id1; in cnd_signal_0100()
Dtss_set.c51 thrd_t id; in tss_set_0100()
/third_party/mesa3d/src/util/
Du_thread.h107 static inline int u_thread_create(thrd_t *thrd, int (*routine)(void *), void *param) in u_thread_create()
168 util_set_thread_affinity(thrd_t thread, in util_set_thread_affinity()
245 util_thread_get_time_nano(thrd_t thread) in util_thread_get_time_nano()
276 static inline bool u_thread_is_self(thrd_t thread) in u_thread_is_self()
370 typedef thrd_t thread_id;
/third_party/musl/src/thread/
Dthrd_join.c5 int thrd_join(thrd_t t, int *res) in thrd_join()
Dthrd_create.c4 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_cs_tpool.h48 thrd_t threads[LP_MAX_THREADS];

12