process.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:sunvox-dll-python 作者: metrasynth 项目源码 文件源码
def __init__(self, *args, **kwargs):
        self._ctx = mp.get_context('spawn')
        self._conn, child_conn = mp.Pipe()
        self._lock = Lock()
        args = (child_conn,) + args
        self._process = self._ctx.Process(
            target=self.processor_class, args=args, kwargs=kwargs)
        self._process.start()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号