Ken*_*tzo 4 python python-3.x python-asyncio
我正在开发一个主要由服务组成的应用程序,这些服务是具有自定义运行循环的线程.
其中一个服务需要产生子进程,我真的不明白它是否有效.官方文件含糊不清.即它说都asyncio supports running subprocesses from different threads和An event loop must run in the main thread在同一节.
如果事件循环必须在主线程中运行,那么甚至可以从不同的线程运行子进程?
| 归档时间: |
|
| 查看次数: |
823 次 |
| 最近记录: |