多进程

我要报错
  • 多进程,多线程,协程

    多进程,多线程,协程 多进程 linux系统可通过os.fork()复制当前进程状态作为子进程。复制时子进程返回0,父进程返回子进程的pid. 子进程可通过os.getppid()获取父进程