mirror of
https://github.com/python/cpython.git
synced 2026-05-06 04:37:33 -04:00
gh-143108: Don't instrument some faulthandler related functions for TSan (#143450)
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user