1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

Kernel: Make m_halt_requested an atomic variable

We need to make sure the change to this variable is visible to all
processors instantly.
This commit is contained in:
Tom 2020-10-27 20:39:08 -06:00 committed by Andreas Kling
parent a14884dd33
commit e26e0445b5
2 changed files with 5 additions and 5 deletions

View file

@ -724,7 +724,7 @@ class Processor {
bool m_invoke_scheduler_async;
bool m_scheduler_initialized;
bool m_halt_requested;
Atomic<bool> m_halt_requested;
DeferredCallEntry* m_pending_deferred_calls; // in reverse order
DeferredCallEntry* m_free_deferred_call_pool_entry;