diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-26 01:16:40 +0000 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-26 02:43:15 +0000 |
| commit | ea7bda25ba99262267acaa179762c83e3e96a232 (patch) | |
| tree | cb369d87aba010d75056786120b3ced3b9a8350a /src/core/arm/cpu_interrupt_handler.cpp | |
| parent | 4efaecf1251b152536cbf84af2616f3181d64960 (diff) | |
cpu_interrupt_handler: Make is_interrupted an atomic
Fixes a race condition detected from tsan
Diffstat (limited to 'src/core/arm/cpu_interrupt_handler.cpp')
| -rw-r--r-- | src/core/arm/cpu_interrupt_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/arm/cpu_interrupt_handler.cpp b/src/core/arm/cpu_interrupt_handler.cpp index df0350881..4c717ebe9 100644 --- a/src/core/arm/cpu_interrupt_handler.cpp +++ b/src/core/arm/cpu_interrupt_handler.cpp @@ -7,7 +7,7 @@ namespace Core { -CPUInterruptHandler::CPUInterruptHandler() : is_interrupted{} { +CPUInterruptHandler::CPUInterruptHandler() { interrupt_event = std::make_unique<Common::Event>(); } |
