processQueue.py 文件源码

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

项目:loopix 作者: UCL-InfoSec 项目源码 文件源码
def _process(self):
        try:
            while self.consumers != [] and self.queue != []:
                d = self.consumers.pop(0)
                obj = self.queue.pop(0)
                dt = threads.deferToThread(self._process_in_thread, d, obj)
                #reactor.callInThread(self._process_in_thread, d, obj)
        except Exception, e:
            print str(e)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号