1
2
3
4
5
6
7
8
9
10
11
12
13
| #pragma once
|
| // Use this attribute to disable the thread sanitizer checks for a specific method.
|
| #if defined(__has_feature)
| #if __has_feature(thread_sanitizer)
| #define IL2CPP_DISABLE_TSAN __attribute__((no_sanitize("thread")))
| #else
| #define IL2CPP_DISABLE_TSAN
| #endif
| #else
| #define IL2CPP_DISABLE_TSAN
| #endif
|
|