Kernel: Make TTY write lock a spinlock

I don't really like this but its needed with the current architecture to
allow printing while interrupts are disabled. I was hitting a dead lock
on few real machines
This commit is contained in:
2026-08-23 14:21:27 +03:00
parent 315d8895a7
commit 74d7a48c4b
5 changed files with 71 additions and 65 deletions
+2 -2
View File
@@ -100,9 +100,9 @@ namespace Kernel
termios m_termios;
protected:
Mutex m_mutex;
Mutex m_input_mutex;
Mutex m_write_lock;
RecursiveSpinLock m_write_lock;
ThreadBlocker m_write_blocker;
};