添加超时时间避免死锁 mutex = threading.Lock() mutex.acquire(n) 进程的阻塞超时 p.join(n) 未经允许不得转载:MR LYU » 超时-线程互斥锁死锁超时和进程阻塞超时