client.py 文件源码

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

项目:fastweb 作者: BSlience 项目源码 文件源码
def main():
    # create an ioloop, do the above, then stop
    import time
    import _thread
    start = time.time()

    def _thread():
        ioloop.IOLoop.current().run_sync(communicate)

    for _ in range(5):
        _thread.start_new_thread(_thread, ())

    while 1:
        pass

    end = time.time()
    print((end-start))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号