在哪里可以找到 python 低级线程 API _thread 扩展模块的源代码?
where can I find the source code for python Low-level threading API _thread extension module?
具体是lock的源码,直接由_thread扩展模块实现
Tim Peters 回答,CPython 实现:
github.com/python/cpython/blob/master/Modules/_threadmodule.c
具体是lock的源码,直接由_thread扩展模块实现
Tim Peters 回答,CPython 实现:
github.com/python/cpython/blob/master/Modules/_threadmodule.c