mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +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)
5.2 KiB
5.2 KiB