[3.12] gh-112536: Add TSAN build on Github Actions (GH-116872)

(cherry picked from commit 20578a1f68)

Co-authored-by: Donghee Na <donghee.na@python.org>
This commit is contained in:
Antoine Pitrou 2024-03-18 10:52:54 +01:00 committed by GitHub
parent fcb230180f
commit 25243b1461
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 74 additions and 0 deletions

View file

@ -91,6 +91,10 @@
#endif
#endif
/* Thread sanitizer doesn't currently support sem_clockwait */
#ifdef _Py_THREAD_SANITIZER
#undef HAVE_SEM_CLOCKWAIT
#endif
/* Whether or not to use semaphores directly rather than emulating them with
* mutexes and condition variables: