forked from eden-emu/eden
cpu_interrupt_handler: Make is_interrupted an atomic
Fixes a race condition detected from tsan
This commit is contained in:
parent
ce74cce2ea
commit
7eb6cc742a
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace Core {
|
||||
|
||||
CPUInterruptHandler::CPUInterruptHandler() : is_interrupted{} {
|
||||
CPUInterruptHandler::CPUInterruptHandler() {
|
||||
interrupt_event = std::make_unique<Common::Event>();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue