This is primarily accomplished by serializing access to a shared program state.A programmer may choose between one of two synchronization techniques: mutual exclusion or conditional synchronization.

  • 同步的主要作用是,阻止可能在同时执行的指令序列间引起问题,或结果不可预料的交互行为。
目录 查词历史