mirror of
https://github.com/RGBCube/serenity
synced 2026-01-17 08:40:59 +00:00
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 | ||