gh-143108: Don't instrument some faulthandler related functions for TSan (#143450)

This commit is contained in:
Sam Gross
2026-01-05 16:13:29 -05:00
committed by GitHub
parent 240a6c3262
commit 7a572d9f21
+2 -2
View File
@@ -1186,7 +1186,7 @@ _Py_DumpTraceback(int fd, PyThreadState *tstate)
// Write the thread name
static void
static void _Py_NO_SANITIZE_THREAD
write_thread_name(int fd, PyThreadState *tstate)
{
#ifndef MS_WINDOWS
@@ -1239,7 +1239,7 @@ write_thread_name(int fd, PyThreadState *tstate)
This function is signal safe (except on Windows). */
static void
static void _Py_NO_SANITIZE_THREAD
write_thread_id(int fd, PyThreadState *tstate, int is_current)
{
if (is_current)