摘要:
#GIL全局解释器锁 在官网中,对GIL全局解释器锁的解释如下: In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native threads from executing Pyth 阅读全文
摘要:
僵尸进程与孤儿进程 僵尸进程 进程代码运行结束之后并没有直接结束而是需要等待收回子进程资源才能结束。 孤儿进程 主进程已经死亡(非正常)但是子进程还在运行 守护进程 守护某个进程,一旦这个进程结束那么也随之结束 from multiprocessing import Process import t 阅读全文