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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user