0
A
回答
4
看一看celery。
3
如果使用多處理程序包,則每個子進程都有is_alive
方法可供您檢查。因此,一個選項可以保存所有正在運行的進程的列表,並定期檢查is_alive
並重新生成死區進程。
如果您使用的是POSIX系統,您也可以捕獲SIGCHLD(使用signal
),並在子進程死亡時收到通知。
1
相關問題
- 1. 處理與Python多處理
- 2. Python多處理和多處理。問題
- 3. 與Python多處理
- 4. Python的多處理
- 5. 多重處理Python
- 6. Python多重處理
- 7. 多處理python pymongo
- 8. Python:多核處理?
- 9. 多處理器python
- 10. Python的多處理
- 11. Python多處理ThreadPool
- 12. 多處理Python池
- 13. Python多處理EOF
- 14. Python多處理map_async
- 15. Python多處理管理
- 16. Python - 多線程/多處理
- 17. python多處理不處理任務
- 18. Python多處理處理會話
- 19. python多處理 - 文本處理
- 20. Python編程:多處理
- 21. python多處理池終止
- 22. PyOpenCL與Python多重處理?
- 23. Python多處理pool.map說明
- 24. Python多處理功能
- 25. Python - 多處理matplotlib griddata
- 26. Python多處理管道掛
- 27. 在Python中處理多鍵?
- 28. 多處理組應用python
- 29. Python多處理類方法
- 30. python中的多重處理
你是人中的神。謝謝你爲我節省一個週末。 – Jordan 2011-09-20 05:03:56
@Jordan,這是發佈到Stack Overflow的最好評論。 – mikerobi 2011-09-20 18:57:36