diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-03 15:33:29 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-03 16:11:26 +0100 |
commit | ca42621be17a85f0ec3513404a6fbce063be370d (patch) | |
tree | b47ba53fb0fbc1695695f9ac53e7c7150f744305 /Kernel/Graphics/FramebufferDevice.h | |
parent | ddde9e7ee52b6d5c955ce3bbd4bc46eff5e0ed94 (diff) | |
download | serenity-ca42621be17a85f0ec3513404a6fbce063be370d.zip |
Kernel: Protect FramebufferDevice with spinlock instead of mutex
Diffstat (limited to 'Kernel/Graphics/FramebufferDevice.h')
-rw-r--r-- | Kernel/Graphics/FramebufferDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/FramebufferDevice.h b/Kernel/Graphics/FramebufferDevice.h index 8846112434..7b1573c5b5 100644 --- a/Kernel/Graphics/FramebufferDevice.h +++ b/Kernel/Graphics/FramebufferDevice.h @@ -56,7 +56,7 @@ private: size_t m_framebuffer_height { 0 }; Spinlock m_activation_lock; - mutable Mutex m_buffer_offset_lock; + mutable Spinlock m_buffer_offset_lock; RefPtr<Memory::AnonymousVMObject> m_real_framebuffer_vmobject; RefPtr<Memory::AnonymousVMObject> m_swapped_framebuffer_vmobject; |