mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
fix TSan
This commit is contained in:
parent
a0f4dfd948
commit
d0044886ab
@ -34,7 +34,7 @@ namespace ErrorCodes
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
// Initialized in StorageSystemStackTrace's ctor and used in signalHandler.
|
// Initialized in StorageSystemStackTrace's ctor and used in signalHandler.
|
||||||
pid_t expected_pid;
|
std::atomic<pid_t> expected_pid;
|
||||||
const int sig = SIGRTMIN;
|
const int sig = SIGRTMIN;
|
||||||
|
|
||||||
std::atomic<int> sequence_num = 0; /// For messages sent via pipe.
|
std::atomic<int> sequence_num = 0; /// For messages sent via pipe.
|
||||||
|
Loading…
Reference in New Issue
Block a user