mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Initialize std::atomic_flag members
PiperOrigin-RevId: 258309720 Change-Id: Id9cb6ee627c0aea11bbbabfcab10731e2235e534
This commit is contained in:
parent
8a4e665cba
commit
418ad07086
|
@ -161,9 +161,9 @@ class Monitor final {
|
||||||
pid_t pid_ = -1;
|
pid_t pid_ = -1;
|
||||||
|
|
||||||
// False iff external kill is requested
|
// 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
|
// 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
|
// Deadline in Unix millis
|
||||||
std::atomic<int64_t> deadline_millis_{0};
|
std::atomic<int64_t> deadline_millis_{0};
|
||||||
// Was external kill sent to the sandboxee
|
// Was external kill sent to the sandboxee
|
||||||
|
|
Loading…
Reference in New Issue
Block a user