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.
Peterson 的 2 进程算法的无争用复杂度为 4(在入口代码中执行 3 两次对共享寄存器内存的访问,在退出代码中执行一次)。如何修改 Peterson 的 2 进程算法,使其无争用复杂度为 3?谢谢。