Initialize std::atomic_flag members

PiperOrigin-RevId: 258309720
Change-Id: Id9cb6ee627c0aea11bbbabfcab10731e2235e534
This commit is contained in:
Sandboxed API Team 2019-07-15 23:58:50 -07:00 committed by Copybara-Service
parent 8a4e665cba
commit 418ad07086

View File

@ -161,9 +161,9 @@ class Monitor final {
pid_t pid_ = -1;
// False iff external kill is requested
std::atomic_flag external_kill_request_flag_;
std::atomic_flag external_kill_request_flag_ = ATOMIC_FLAG_INIT;
// False iff dump stack is requested
std::atomic_flag dump_stack_request_flag_;
std::atomic_flag dump_stack_request_flag_ = ATOMIC_FLAG_INIT;
// Deadline in Unix millis
std::atomic<int64_t> deadline_millis_{0};
// Was external kill sent to the sandboxee