ClickHouse/base
Azat Khuzhin d6bfbeb95f Fix TSan errors (correctly ignore _exit interception)
Because safeExit() does not includes header with defines, it does not
know about THREAD_SANITIZER.

And it also fixes Azure blob storage, actually everything is fine with
the sdk itself, the problem is only in TSan that intercepts _exit() and
report leak, even thoug that tread will be joined later.

Refs: #23056 (#23616)
Fixes: #38474
Closes: #42640
Fixes: #42638
Fixes: #34988
Cc: @alexey-milovidov, @tavplubix

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-11-07 16:10:35 +01:00
..
base Fix TSan errors (correctly ignore _exit interception) 2022-11-07 16:10:35 +01:00
glibc-compatibility Corrosion fixes + review fixes 2022-09-16 00:05:21 +03:00
harmful make tests with tsan less flaky 2022-06-15 19:54:46 +02:00
pcg-random Fix typos with new codespell 2022-09-02 08:54:48 +00:00
readpassphrase Manipulate with -Wreserved-identifier only if HAS_RESERVED_IDENTIFIER has been detected 2021-10-03 17:42:36 +04:00
widechar_width More clang-tidy fixes 2022-06-28 11:50:05 +00:00
CMakeLists.txt base should not depend on Common 2022-04-29 10:26:35 +08:00