ClickHouse/base/base/safeExit.h
Azat Khuzhin 798da0c314 Introduce safeExit() helper (_exit() compatible with TSan)
v2: add missing defines.h header
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-02 22:17:17 +03:00

5 lines
92 B
C++

#pragma once
/// _exit() with a workaround for TSan.
[[noreturn]] void safeExit(int code);