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:
parent
a14884dd33
commit
e26e0445b5
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue