mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
72de228695
This should help prevent deadlocks where a thread blocks on a Mutex while interrupts are disabled, and makes it impossible for the holder of the Mutex to make forward progress because it cannot be scheduled in. Hide it behind a new debug macro LOCK_IN_CRITICAL_DEBUG for now, because Ext2FS takes a series of Mutexes from the page fault handler, which executes with interrupts disabled. |
||
---|---|---|
.. | ||
Lockable.h | ||
LockLocation.h | ||
LockMode.h | ||
Mutex.cpp | ||
Mutex.h | ||
MutexProtected.h | ||
Spinlock.h | ||
SpinlockProtected.h |