Lines Matching refs:thread

77 _hurd_thread_sigstate (thread_t thread)  in _hurd_thread_sigstate()  argument
82 if (ss->thread == thread) in _hurd_thread_sigstate()
91 ss->thread = thread; in _hurd_thread_sigstate()
106 if (thread == MACH_PORT_NULL) in _hurd_thread_sigstate()
133 err = __mach_port_mod_refs (__mach_task_self (), thread, in _hurd_thread_sigstate()
147 _hurd_sigstate_delete (thread_t thread) in libc_hidden_def()
153 if ((*ssp)->thread == thread) in libc_hidden_def()
163 if (ss->thread != MACH_PORT_NULL) in libc_hidden_def()
164 __mach_port_deallocate (__mach_task_self (), ss->thread); in libc_hidden_def()
174 assert (ss->thread != MACH_PORT_NULL); in _hurd_sigstate_set_global_rcv()
341 assert (ss->thread != MACH_PORT_NULL); in abort_thread()
345 error_t err = __thread_abort (ss->thread); in abort_thread()
355 machine_get_basic_state (ss->thread, state); in abort_thread()
363 interrupted_reply_port_location (thread_t thread, in interrupted_reply_port_location() argument
367 mach_port_t *portloc = &THREAD_TCB(thread, thread_state)->reply_port; in interrupted_reply_port_location()
460 mach_port_t *reply = interrupted_reply_port_location (ss->thread, in _hurdsig_abort_rpcs()
526 if (ss->thread == _hurd_msgport_thread) in abort_all_rpcs()
552 __thread_set_state (ss->thread, MACHINE_THREAD_STATE_FLAVOR, in abort_all_rpcs()
678 if (act == handle && threads[i] == ss->thread) in weak_alias()
722 if (ss->thread == MACH_PORT_NULL) in weak_alias()
943 assert (ss->thread != MACH_PORT_NULL); in weak_alias()
944 err = __thread_resume (ss->thread); in weak_alias()
988 assert (ss->thread != MACH_PORT_NULL); in weak_alias()
993 err = __thread_suspend (ss->thread); in weak_alias()
1028 if (! machine_get_basic_state (ss->thread, &thread_state)) in weak_alias()
1030 loc = interrupted_reply_port_location (ss->thread, in weak_alias()
1075 __thread_set_state (ss->thread, MACHINE_THREAD_STATE_FLAVOR, in weak_alias()
1080 __thread_resume (ss->thread); in weak_alias()
1097 mach_port_t *loc = interrupted_reply_port_location (ss->thread, in weak_alias()
1149 err = __thread_set_state (ss->thread, MACHINE_THREAD_STATE_FLAVOR, in weak_alias()
1153 err = __thread_resume (ss->thread); in weak_alias()
1189 assert (ss->thread != MACH_PORT_NULL); in post_pending()
1266 if (signo != 0 && ss->thread != MACH_PORT_NULL) in _hurd_internal_post_signal()
1528 pthread_t thread; in _hurdsig_init() local
1546 __pthread_create(&thread, NULL, &_hurd_msgport_receive, NULL); in _hurdsig_init()
1549 __pthread_getattr_np (thread, &attr); in _hurdsig_init()
1554 __pthread_detach(thread); in _hurdsig_init()