mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:07:43 +00:00
Kernel: Protect InodeWatcher internals with spinlock instead of mutex
This commit is contained in:
parent
64254b5df8
commit
0bebf013e3
2 changed files with 8 additions and 8 deletions
|
@ -64,7 +64,7 @@ public:
|
|||
private:
|
||||
explicit InodeWatcher() { }
|
||||
|
||||
mutable Mutex m_lock;
|
||||
mutable Spinlock m_lock;
|
||||
|
||||
struct Event {
|
||||
int wd { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue