Discuss / Python / 运行结果不一致

运行结果不一致

Topic source

T800GHB

#1 Created at ... [Delete] [Delete and Lock User]

运行了好多次,结果为

Parent process 3028. Child process will start. Child process end. Run child process test (7817)...

感觉join的作用没有起到,或者作用机制不一样。

我分别在windows和Linux中运行,windows显示不是子进程ID=父进程 ID+1,而Linux下就是子进程ID=父进程ID+1,可能跟系统有关吧


  • 1

Reply