mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Rename SpinLock to Lock. It hasn't been a SpinLock for some time.
I'm pretty happy with the mechanism of AK::Lock for now.
This commit is contained in:
parent
133f9aa352
commit
e9e57c5f65
9 changed files with 18 additions and 27 deletions
|
@ -29,7 +29,7 @@ private:
|
|||
void drain_mouse();
|
||||
void drain_keyboard();
|
||||
|
||||
SpinLock m_lock;
|
||||
Lock m_lock;
|
||||
|
||||
struct QueuedEvent {
|
||||
WSEventReceiver* receiver { nullptr };
|
||||
|
|
|
@ -92,5 +92,5 @@ private:
|
|||
OwnPtr<Painter> m_back_painter;
|
||||
OwnPtr<Painter> m_front_painter;
|
||||
|
||||
mutable SpinLock m_lock;
|
||||
mutable Lock m_lock;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue