]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-93503: Add thread-specific APIs to set profiling and tracing functions in the...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Wed, 24 Aug 2022 22:21:39 +0000 (23:21 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Aug 2022 22:21:39 +0000 (23:21 +0100)
commite34c82abeb7ace09e6b5d116585c47cc372996c1
tree16f130870af42de041ddf52a36540b9c421aec8c
parent657976ad950e56b33b7dc15e64a0baecdd184f5a
GH-93503: Add thread-specific APIs to set profiling and tracing functions in the C-API (#93504)

* gh-93503: Add APIs to set profiling and tracing functions in all threads in the C-API

* Use a separate API

* Fix NEWS entry

* Add locks around the loop

* Document ignoring exceptions

* Use the new APIs in the sys module

* Update docs
Doc/c-api/init.rst
Doc/data/refcounts.dat
Doc/library/threading.rst
Include/cpython/ceval.h
Lib/test/test_threading.py
Lib/threading.py
Misc/NEWS.d/next/C API/2022-06-06-16-04-14.gh-issue-93503.MHJTu8.rst [new file with mode: 0644]
Python/ceval.c
Python/clinic/sysmodule.c.h
Python/sysmodule.c