Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 13 of 13) sorted by relevance

/htl/
A Dpt-internal.h67 pthread_t thread; member
126 assert (thread->prevp == 0); in __pthread_enqueue()
128 thread->next = *head; in __pthread_enqueue()
129 thread->prevp = head; in __pthread_enqueue()
132 *head = thread; in __pthread_enqueue()
139 assert (thread); in __pthread_dequeue()
140 assert (thread->prevp); in __pthread_dequeue()
142 if (thread->next) in __pthread_dequeue()
143 thread->next->prevp = thread->prevp; in __pthread_dequeue()
144 *thread->prevp = thread->next; in __pthread_dequeue()
[all …]
A Dpt-join.c28 __pthread_join_common (pthread_t thread, void **status, int try, in __pthread_join_common() argument
36 pthread = __pthread_getid (thread); in __pthread_join_common()
95 __pthread_join (pthread_t thread, void **status) in __pthread_join() argument
97 return __pthread_join_common (thread, status, 0, CLOCK_REALTIME, NULL); in __pthread_join()
102 __pthread_tryjoin_np (pthread_t thread, void **status) in __pthread_tryjoin_np() argument
104 return __pthread_join_common (thread, status, 1, CLOCK_REALTIME, NULL); in __pthread_tryjoin_np()
109 __pthread_timedjoin_np (pthread_t thread, void **status, in __pthread_timedjoin_np() argument
112 return __pthread_join_common (thread, status, 0, CLOCK_REALTIME, abstime); in __pthread_timedjoin_np()
117 __pthread_clockjoin_np (pthread_t thread, void **status, in __pthread_clockjoin_np() argument
121 return __pthread_join_common (thread, status, 0, clockid, abstime); in __pthread_clockjoin_np()
A Dcthreads-compat.c25 __cthread_detach (__cthread_t thread) in __cthread_detach() argument
29 err = __pthread_detach ((pthread_t) thread); in __cthread_detach()
37 pthread_t thread; in weak_alias() local
40 err = __pthread_create (&thread, NULL, func, arg); in weak_alias()
43 return (__cthread_t) thread; in weak_alias()
A Dpt-getattr.c29 __pthread_getattr_np (pthread_t thread, pthread_attr_t *attr) in __pthread_getattr_np() argument
33 pthread = __pthread_getid (thread); in __pthread_getattr_np()
A Dpt-detach.c28 __pthread_detach (pthread_t thread) in __pthread_detach() argument
34 pthread = __pthread_getid (thread); in __pthread_detach()
A Dpt-self.c30 return self->thread; in __pthread_self()
A Dpt-create.c85 __pthread_create (pthread_t * thread, const pthread_attr_t * attr, in __pthread_create() argument
93 *thread = pthread->thread; in __pthread_create()
105 __pthread_create_internal (struct __pthread **thread, in weak_alias()
238 GL (dl_pthread_threads)[pthread->thread - 1] = pthread; in weak_alias()
246 *thread = pthread; in weak_alias()
261 __pthread_setid (pthread->thread, NULL); in weak_alias()
A Dpt-dealloc.c42 __pthread_setid (pthread->thread, NULL); in __pthread_dealloc()
A Dpt-alloc.c131 new->thread = 1 + GL (dl_pthread_num_threads)++; in __pthread_alloc()
132 GL (dl_pthread_threads)[new->thread - 1] = NULL; in __pthread_alloc()
193 new->thread = 1 + GL (dl_pthread_num_threads)++; in __pthread_alloc()
194 GL (dl_pthread_threads)[new->thread - 1] = NULL; in __pthread_alloc()
A Dlibpthread_syms.a6 thread safe. */
A DVersions24 # C11 thread symbols.
146 # C11 thread symbols.
A DMakefile102 pt-thread-alloc \
103 pt-thread-start \
104 pt-thread-terminate \
148 bits/thread-shared-types.h \
/htl/tests/
A Dtest-2.c28 thread (void *arg) in thread() function
41 err = pthread_create (&tid, 0, thread, 0); in main()

Completed in 18 milliseconds