mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-03-14 14:01:05 +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