visualstudio_py_debugger.py 文件源码

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

项目:AutoDiff 作者: icewall 项目源码 文件源码
def intercept_threads(for_attach = False):
    thread.start_new_thread = thread_creator
    thread.start_new = thread_creator
    global threading
    if threading is None:
        # we need to patch threading._start_new_thread so that 
        # we pick up new threads in the attach case when threading
        # is already imported.
        import threading
        threading._start_new_thread = thread_creator
    global _INTERCEPTING_FOR_ATTACH
    _INTERCEPTING_FOR_ATTACH = for_attach
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号