mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
Kernel: Specify default memory order for some non-synchronizing Atomics
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 00:07:11 +09:00
Author: https://github.com/tomuta Commit: https://github.com/SerenityOS/serenity/commit/901ef3f1c87 Pull-request: https://github.com/SerenityOS/serenity/pull/4783
@@ -162,7 +162,7 @@ private:
|
||||
SpinLock<u8> m_thread_lock;
|
||||
RefPtr<Thread> m_thread;
|
||||
Atomic<bool> m_thread_running { false };
|
||||
Atomic<bool> m_thread_shutdown { false };
|
||||
Atomic<bool, AK::MemoryOrder::memory_order_relaxed> m_thread_shutdown { false };
|
||||
};
|
||||
|
||||
class Plan9FSInode final : public Inode {
|
||||
|
||||
Reference in New Issue
Block a user