Home
last modified time | relevance | path

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

12345678910>>...15

/glibc-2.36/sysdeps/htl/
Dpthread-functions.h48 int __pthread_equal (pthread_t, pthread_t);
50 int __pthread_getschedparam (pthread_t, int *, struct sched_param *);
51 int __pthread_setschedparam (pthread_t, int,
59 pthread_t __pthread_self (void);
104 int (*ptr_pthread_equal) (pthread_t, pthread_t);
106 int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
107 int (*ptr_pthread_setschedparam) (pthread_t, int,
115 pthread_t (*ptr_pthread_self) (void);
Dpthread.h205 extern int pthread_getattr_np (pthread_t __thr, pthread_attr_t *__attr)
212 extern int pthread_create (pthread_t *__restrict __threadp,
223 extern int pthread_join (pthread_t __threadp, void **__status);
228 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __THROW;
236 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
246 extern int pthread_clockjoin_np (pthread_t __th, void **__thread_return,
253 extern int pthread_detach (pthread_t __threadp);
257 extern int pthread_equal (pthread_t __t1, pthread_t __t2);
262 pthread_equal (pthread_t __t1, pthread_t __t2) in pthread_equal()
271 extern pthread_t pthread_self (void) __THROW;
[all …]
DpthreadP.h64 int __pthread_create (pthread_t *newthread,
69 int __pthread_detach (pthread_t __threadp);
71 int __pthread_join (pthread_t, void **);
83 int __pthread_getattr_np (pthread_t, pthread_attr_t *);
/glibc-2.36/sysdeps/nptl/
Dpthread.h202 extern int pthread_create (pthread_t *__restrict __newthread,
219 extern int pthread_join (pthread_t __th, void **__thread_return);
224 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __THROW;
233 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
243 extern int pthread_clockjoin_np (pthread_t __th, void **__thread_return,
249 (pthread_t __th, void **__thread_return,
254 (pthread_t __th, void **__thread_return,
269 extern int pthread_detach (pthread_t __th) __THROW;
273 extern pthread_t pthread_self (void) __THROW __attribute__ ((__const__));
276 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2)
[all …]
DpthreadP.h305 extern int __pthread_create (pthread_t *newthread,
309 extern int __pthread_create_2_0 (pthread_t *newthread,
338 extern int __pthread_getschedparam (pthread_t thread_id, int *policy,
341 extern int __pthread_setschedparam (pthread_t thread_id, int policy,
439 extern int __pthread_clockjoin_np64 (pthread_t threadid, void **thread_return,
443 extern int __pthread_timedjoin_np64 (pthread_t threadid, void **thread_return,
513 extern int __pthread_equal (pthread_t thread1, pthread_t thread2);
514 extern int __pthread_detach (pthread_t th);
516 extern int __pthread_kill (pthread_t threadid, int signo);
518 extern int __pthread_cancel (pthread_t th);
[all …]
/glibc-2.36/htl/
Dpt-join.c28 __pthread_join_common (pthread_t thread, void **status, int try, in __pthread_join_common()
89 __pthread_join (pthread_t thread, void **status) in __pthread_join()
96 __pthread_tryjoin_np (pthread_t thread, void **status) in __pthread_tryjoin_np()
103 __pthread_timedjoin_np (pthread_t thread, void **status, in __pthread_timedjoin_np()
111 __pthread_clockjoin_np (pthread_t thread, void **status, in __pthread_clockjoin_np()
Dforward.c105 FORWARD (pthread_equal, (pthread_t thread1, pthread_t thread2),
116 (pthread_t target_thread, int *policy, struct sched_param *param),
119 (pthread_t target_thread, int policy,
134 FORWARD2 (pthread_self, pthread_t, (void), (), return 0)
/glibc-2.36/conform/data/
Dpthread.h-data50 type pthread_t
85 function int pthread_cancel (pthread_t)
106 function int pthread_create (pthread_t*, const pthread_attr_t*, void *(*) (void*), void*)
107 function int pthread_detach (pthread_t)
108 function int pthread_equal (pthread_t, pthread_t)
114 function int pthread_getcpuclockid (pthread_t, clockid_t*)
116 function int pthread_getschedparam (pthread_t, int*, struct sched_param*)
118 function int pthread_join (pthread_t, void**)
164 function pthread_t pthread_self (void)
170 function int pthread_setschedparam (pthread_t, int, const struct sched_param*)
/glibc-2.36/support/
Dxthread.h65 pthread_t xpthread_create (pthread_attr_t *attr,
67 void xpthread_detach (pthread_t thr);
68 void xpthread_cancel (pthread_t thr);
69 void *xpthread_join (pthread_t thr);
87 void xpthread_kill (pthread_t thr, int signo);
/glibc-2.36/malloc/
Dtst-malloc-fork-deadlock.c117 create_threads (pthread_t *threads, size_t count, void *(*func) (void *)) in create_threads()
124 join_threads (pthread_t *threads, size_t count) in join_threads()
181 pthread_t fork_threads[fork_thread_count]; in do_test()
183 pthread_t read_threads[read_thread_count]; in do_test()
185 pthread_t flushall_threads[1]; in do_test()
Dtst-mallocfork3.c101 pthread_t target;
116 pthread_t target = SIGNAL_SEND_GET_ARG (args, target); in signal_sender()
130 static pthread_t sigusr1_sender[5];
131 static pthread_t sigusr2_sender;
139 pthread_t self = pthread_self (); in do_test()
Dtst-malloc-tcache-leak.c63 pthread_t *thread; in do_test()
74 thread = (pthread_t *) xcalloc (1, sizeof (pthread_t)); in do_test()
/glibc-2.36/nptl/
Dpthread_kill.c28 __pthread_kill_implementation (pthread_t threadid, int signo, int no_tid) in __pthread_kill_implementation()
73 __pthread_kill_internal (pthread_t threadid, int signo) in __pthread_kill_internal()
82 __pthread_kill (pthread_t threadid, int signo) in __pthread_kill()
103 __pthread_kill_esrch (pthread_t threadid, int signo) in __pthread_kill_esrch()
Dperf.c131 static pthread_t tmain;
280 pthread_t ths[si->threads]; in start_threads()
289 memset (ths, '\0', sizeof (pthread_t) * si->threads); in start_threads()
347 pthread_t th; in main()
348 pthread_t *ths = NULL; in main()
358 ths = (pthread_t *) calloc (threads, sizeof (pthread_t)); in main()
457 pthread_t ths[toplevel]; in main()
Dtst-audit-threads.c71 pthread_t *threads; in do_test()
80 threads = (pthread_t *) xcalloc (num_threads, sizeof (pthread_t)); in do_test()
/glibc-2.36/sysdeps/pthread/
Dtst-join5.c44 thread_join (pthread_t thread, void **retval) in thread_join()
73 thread_join ((pthread_t) arg, NULL); in tf1()
88 thread_join ((pthread_t) arg, NULL); in tf2()
101 pthread_t th; in do_test()
Dtst-join1.c29 pthread_t mh = (pthread_t) arg; in tf()
57 pthread_t th; in do_test()
Dtst-basic3.c41 if (pthread_join ((pthread_t) a, NULL) != 0) in tf()
57 pthread_t t[N]; in do_test()
58 pthread_t last = pthread_self (); in do_test()
Dtst-pthread-raise-blocked-self.c34 static volatile pthread_t signal_thread;
61 pthread_t dummy = xpthread_create (NULL, noop, NULL); in do_test()
64 pthread_t helper = xpthread_create (NULL, waiting_thread, NULL); in do_test()
Dtst-pthread_kill-exiting.c47 static pthread_t target_thread;
87 pthread_t thr_timeout = xpthread_create (NULL, timeout_thread_function, NULL); in do_test()
89 pthread_t threads[4]; in do_test()
Dtst-exec2.c35 pthread_t th = (pthread_t) arg; in tf()
81 pthread_t th; in do_test()
Dtst-exec1.c35 pthread_t th = (pthread_t) arg; in tf()
80 pthread_t th; in do_test()
Dtst-rwlock14.c38 pthread_t mt = *(pthread_t *) arg; in tf()
57 pthread_t me = pthread_self (); in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-skeleton-thread-affinity.c69 pthread_t self;
110 pthread_t *pinned_first, pthread_t *pinned_last, in stop_and_join_threads()
115 for (pthread_t *p = pinned_first; p < pinned_last; ++p) in stop_and_join_threads()
153 pthread_t *pinned_threads in early_test()
/glibc-2.36/stdlib/
Dtst-arc4random-thread.c182 pthread_t threads[inner_threads]; in outer_thread()
222 pthread_t thr1 = xpthread_create (NULL, get_one_blob_thread, &args[1]); in fork_thread_subprocess()
223 pthread_t thr2 = xpthread_create (NULL, get_one_blob_thread, &args[2]); in fork_thread_subprocess()
273 pthread_t fork_thread_id = xpthread_create (NULL, fork_thread, func); in run_outer_threads()
275 pthread_t threads[outer_threads]; in run_outer_threads()

12345678910>>...15