diff options
author | Victor Stinner <vstinner@python.org> | 2024-12-06 16:27:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 16:27:12 (GMT) |
commit | 67b18a18b66b89e253f38895057ef9f6bae92e7b (patch) | |
tree | 86d8e41e6935361b3821b7e2769553ca2123bf0d /InternalDocs | |
parent | 12680ec5bd45c85b6daebe0739d30ef45f089efa (diff) | |
download | cpython-67b18a18b66b89e253f38895057ef9f6bae92e7b.zip cpython-67b18a18b66b89e253f38895057ef9f6bae92e7b.tar.gz cpython-67b18a18b66b89e253f38895057ef9f6bae92e7b.tar.bz2 |
gh-59705: Add _thread.set_name() function (#127338)
On Linux, threading.Thread now sets the thread name to the operating
system.
* configure now checks if pthread_getname_np()
and pthread_setname_np() functions are available.
* Add PYTHREAD_NAME_MAXLEN macro.
* Add _thread._NAME_MAXLEN constant for test_threading.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'InternalDocs')
0 files changed, 0 insertions, 0 deletions