gh-59705: Implement _thread.set_name() on Windows (#128675)
Implement set_name() with SetThreadDescription() and _get_name() with GetThreadDescription(). If SetThreadDescription() or GetThreadDescription() is not available in kernelbase.dll, delete the method when the _thread module is imported. Truncate the thread name to 32766 characters. Co-authored-by: Eryk Sun <eryksun@gmail.com>
V
Victor Stinner committed
d7f703d54d64c5a380f43e2363c439f7dab0d09d
Parent: 76856ae
Committed by GitHub <noreply@github.com>
on 1/17/2025, 1:55:43 PM