Turing Machine: 一个处理器,一个地址空间
heap
Multiprocessing Extension: 多个处理器,一个地址空间
heap (处理器间共享)状态机模型发生了改变
与多线程程序完全一致
xchg 实现uint8_t shm[MEM_SIZE]; // Shared memory
void Tprocessor() {
  struct cpu_state s;
  while (1) {
    fetch_decode_exec(&s, shm);
  }
}
int main() {
  for (int i = 0; i < NPROC; i++) {
    create(Tprocessor);
  }
}