运行了好多次,结果为
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,可能跟系统有关吧
Sign in to make a reply
T800GHB
运行了好多次,结果为
Parent process 3028. Child process will start. Child process end. Run child process test (7817)...
感觉join的作用没有起到,或者作用机制不一样。