1
Fork 0
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:
Andreas Kling 2022-02-03 15:47:21 +01:00
parent 64254b5df8
commit 0bebf013e3
2 changed files with 8 additions and 8 deletions

View file

@ -64,7 +64,7 @@ public:
private:
explicit InodeWatcher() { }
mutable Mutex m_lock;
mutable Spinlock m_lock;
struct Event {
int wd { 0 };