mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 11:54:53 +03: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 |