mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Revert "Kernel: Protect InodeWatcher internals with spinlock instead of mutex"
This reverts commit 0bebf013e3
.
This caused a deadlock when handling a crashed process, so let's revert
it until we can figure out what went wrong.
This commit is contained in:
parent
e7dc9f71b8
commit
34f6c88ffd
2 changed files with 8 additions and 8 deletions
|
@ -64,7 +64,7 @@ public:
|
|||
private:
|
||||
explicit InodeWatcher() { }
|
||||
|
||||
mutable Spinlock m_lock;
|
||||
mutable Mutex m_lock;
|
||||
|
||||
struct Event {
|
||||
int wd { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue