Lines Matching refs:handle
95 pthread_handle handle = obj; in join_extricate_func() local
99 __pthread_lock(handle_to_lock(handle), self); in join_extricate_func()
100 jo = handle_to_descr(handle); in join_extricate_func()
103 __pthread_unlock(handle_to_lock(handle)); in join_extricate_func()
112 pthread_handle handle = thread_handle(thread_id); in pthread_join() local
118 extr.pu_object = handle; in pthread_join()
121 __pthread_lock(handle_to_lock(handle), self); in pthread_join()
122 if (nonexisting_handle(handle, thread_id)) { in pthread_join()
123 __pthread_unlock(handle_to_lock(handle)); in pthread_join()
126 th = handle_to_descr(handle); in pthread_join()
128 __pthread_unlock(handle_to_lock(handle)); in pthread_join()
133 __pthread_unlock(handle_to_lock(handle)); in pthread_join()
145 __pthread_unlock(handle_to_lock(handle)); in pthread_join()
162 __pthread_lock(handle_to_lock(handle), self); in pthread_join()
166 __pthread_unlock(handle_to_lock(handle)); in pthread_join()
181 pthread_handle handle = thread_handle(thread_id); in pthread_detach() local
184 __pthread_lock(handle_to_lock(handle), NULL); in pthread_detach()
185 if (nonexisting_handle(handle, thread_id)) { in pthread_detach()
186 __pthread_unlock(handle_to_lock(handle)); in pthread_detach()
189 th = handle_to_descr(handle); in pthread_detach()
192 __pthread_unlock(handle_to_lock(handle)); in pthread_detach()
197 __pthread_unlock(handle_to_lock(handle)); in pthread_detach()
203 __pthread_unlock(handle_to_lock(handle)); in pthread_detach()