2024-04-19 17:01:23 发布
网友
我对Python还不熟悉。你知道吗
我知道os.fork创建一个副本。你知道吗
os.fork
它的输出是什么?请解释一下。你知道吗
pid = os.fork() if pid == 0: print(1, end = '') print(3, end = '') else: print(3, end = '') print(2, end = '') print(0, end = '')
make two identical copies of address spaces, one for the parent and the other for the child that basically os.fork does
参考this
参考this
相关问题 更多 >
编程相关推荐