This commit is contained in:
Amos Bird 2020-12-01 11:45:10 +08:00
parent a0f4dfd948
commit d0044886ab
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -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.