mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-112536: Define MI_TSAN to 1 for --with-mimalloc and --with-thread-sanitizer (gh-116558)
This commit is contained in:
parent
817fe33a1d
commit
6c4fc209e1
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ typedef enum {
|
|||
# define MI_DEBUG 0
|
||||
#endif
|
||||
|
||||
#ifdef _Py_THREAD_SANITIZER
|
||||
# define MI_TSAN 1
|
||||
#endif
|
||||
|
||||
#include "mimalloc.h"
|
||||
#include "mimalloc/types.h"
|
||||
#include "mimalloc/internal.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue