Lines Matching refs:thread

65   pthread_t thread;  member
124 __pthread_enqueue (struct __pthread **head, struct __pthread *thread) in __pthread_enqueue() argument
126 assert (thread->prevp == 0); in __pthread_enqueue()
128 thread->next = *head; in __pthread_enqueue()
129 thread->prevp = head; in __pthread_enqueue()
131 (*head)->prevp = &thread->next; in __pthread_enqueue()
132 *head = thread; in __pthread_enqueue()
137 __pthread_dequeue (struct __pthread *thread) in __pthread_dequeue() argument
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()
145 thread->prevp = 0; in __pthread_dequeue()
175 #define __pthread_getid(thread) \ argument
178 if (thread <= __pthread_max_threads) \
179 __t = GL (dl_pthread_threads)[thread - 1]; \
183 #define __pthread_setid(thread, pthread) \ argument
185 GL (dl_pthread_threads)[thread - 1] = pthread; \
210 extern int __pthread_alloc (struct __pthread **thread);
218 extern void __pthread_dealloc (struct __pthread *thread);
234 extern int __pthread_setup (struct __pthread *__restrict thread,
244 extern int __pthread_thread_alloc (struct __pthread *thread);
247 extern int __pthread_thread_start (struct __pthread *thread);
260 extern void __pthread_thread_terminate (struct __pthread *thread);
268 extern void __pthread_block (struct __pthread *thread);
271 extern error_t __pthread_timedblock (struct __pthread *__restrict thread,
276 extern error_t __pthread_block_intr (struct __pthread *thread);
279 extern error_t __pthread_timedblock_intr (struct __pthread *__restrict thread,
284 extern void __pthread_wakeup (struct __pthread *thread);
289 extern int __pthread_do_cancel (struct __pthread *thread);
294 extern error_t __pthread_init_specific (struct __pthread *thread);
298 extern void __pthread_destroy_specific (struct __pthread *thread);
303 extern error_t __pthread_sigstate_init (struct __pthread *thread);
307 extern void __pthread_sigstate_destroy (struct __pthread *thread);
310 extern error_t __pthread_sigstate (struct __pthread *__restrict thread, int how,