mirror of
https://github.com/RGBCube/serenity
synced 2025-10-28 17:32:33 +00:00
MasterPTY::read called DoubleBuffer::read which takes a mutex (which may block) while holding m_slave's spinlock. If it did block, and was later rescheduled on a different physical CPU, we would deadlock on re-locking m_slave inside the unblock callback. (Since our recursive spinlock implementation is processor based and not process based) |
||
|---|---|---|
| .. | ||
| ConsoleManagement.cpp | ||
| ConsoleManagement.h | ||
| MasterPTY.cpp | ||
| MasterPTY.h | ||
| PTYMultiplexer.cpp | ||
| PTYMultiplexer.h | ||
| SlavePTY.cpp | ||
| SlavePTY.h | ||
| TTY.cpp | ||
| TTY.h | ||
| VirtualConsole.cpp | ||
| VirtualConsole.h | ||