Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究 StarRuntime 的源代码,我遇到了两个术语 x86_thread_state64_t 和 thread_act_t。
我试图谷歌它,但没有太多的文档。我看到它在苹果开源项目中一直被使用?有人可以解释一下它们是什么吗?
x86_thread_state64_t 应该是这样的
struct x86_thread_state64_t { uint64_t rax, rbx, rcx, rdx, rdi, rsi, rbp, rsp, r8, r9, r10, r11, r12, r13, r14, r15, rip, rflags, cs, fs, gs; };
和
thread_act_t 是
struct thread *thread_act_t;