mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-27 05:21:08 +00:00
cpu_interrupt_handler: Make is_interrupted an atomic
Fixes a race condition detected from tsan
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Core {
|
||||
|
||||
CPUInterruptHandler::CPUInterruptHandler() : is_interrupted{} {
|
||||
CPUInterruptHandler::CPUInterruptHandler() {
|
||||
interrupt_event = std::make_unique<Common::Event>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user