mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:18:11 +00:00
Kernel: Protect FramebufferDevice with spinlock instead of mutex
This commit is contained in:
parent
ddde9e7ee5
commit
ca42621be1
5 changed files with 18 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue