Lines Matching refs:thread_
71 DEBUG_ASSERT(&thread_ != get_current_thread());
78 __UNUSED auto ret = thread_join(&thread_, nullptr, ZX_TIME_INFINITE);
89 thread_forget(&thread_);
117 &thread_, thread_name, StartRoutine, this, DEFAULT_PRIORITY, nullptr);
123 DEBUG_ASSERT(lkthread == &thread_);
126 thread_set_user_callback(&thread_, &ThreadUserCallback);
150 memcpy(thread_.name, name, len);
151 memset(thread_.name + len, 0, ZX_MAX_NAME_LEN - len);
160 strlcpy(out_name, thread_.name, ZX_MAX_NAME_LEN);
195 thread_.user_tid = get_koid();
196 thread_.user_pid = process_->get_koid();
197 thread_resume(&thread_);
209 DEBUG_ASSERT(get_current_thread() == &thread_);
241 thread_kill(&thread_);
268 return thread_suspend(&thread_);
293 thread_resume(&thread_);
562 thread_.exception_context = arch_context;
626 thread_.exception_context = nullptr;
720 return thread_stopped_in_exception(&thread_);
885 &thread_, static_cast<zx_thread_state_general_regs_t*>(buffer));
891 &thread_, static_cast<zx_thread_state_fp_regs_t*>(buffer));
897 &thread_, static_cast<zx_thread_state_vector_regs_t*>(buffer));
903 zx_status_t status = arch_get_single_step(&thread_, &single_step);
934 return arch_set_general_regs(&thread_,
940 return arch_set_fp_regs(&thread_,
946 return arch_set_vector_regs(&thread_,
956 return arch_set_single_step(&thread_, !!*single_step);
971 thread_set_priority(&thread_, priority);