mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
Kernel: Increase maximum PTY count from 8 to 64
Let's allow users to allocate more pseudo-terminals if they want.
This commit is contained in:
parent
c4604bc080
commit
7f2791f02e
2 changed files with 3 additions and 2 deletions
|
@ -44,7 +44,9 @@ private:
|
|||
virtual StringView class_name() const override { return "PTYMultiplexer"; }
|
||||
|
||||
Mutex m_lock { "PTYMultiplexer" };
|
||||
Vector<unsigned> m_freelist;
|
||||
|
||||
static constexpr size_t max_pty_pairs = 64;
|
||||
Vector<unsigned, max_pty_pairs> m_freelist;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue