Lines Matching refs:thread
34 struct pthread *thread = (struct pthread *) thread_id; in __pthread_getattr_np() local
43 lll_lock (thread->lock, LLL_PRIVATE); in __pthread_getattr_np()
47 memcpy (&iattr->schedparam, &thread->schedparam, in __pthread_getattr_np()
49 iattr->schedpolicy = thread->schedpolicy; in __pthread_getattr_np()
52 iattr->flags = thread->flags; in __pthread_getattr_np()
55 if (IS_DETACHED (thread)) in __pthread_getattr_np()
59 iattr->guardsize = thread->reported_guardsize; in __pthread_getattr_np()
62 if (__glibc_likely (thread->stackblock != NULL)) in __pthread_getattr_np()
66 iattr->stacksize = thread->stackblock_size - thread->guardsize; in __pthread_getattr_np()
68 iattr->stackaddr = (char *) thread->stackblock in __pthread_getattr_np()
69 + thread->stackblock_size; in __pthread_getattr_np()
71 iattr->stackaddr = (char *) thread->stackblock; in __pthread_getattr_np()
201 lll_unlock (thread->lock, LLL_PRIVATE); in __pthread_getattr_np()