Kernel: Rename ProtectedValue<T> => MutexProtected<T>

Let's make it obvious what we're protecting it with.
This commit is contained in:
Andreas Kling 2021-08-21 23:31:15 +02:00
commit c2fc33becd
Notes: sideshowbarker 2024-07-18 05:25:05 +09:00
18 changed files with 57 additions and 56 deletions

View file

@ -44,7 +44,7 @@ private:
virtual StringView class_name() const override { return "PTYMultiplexer"; }
static constexpr size_t max_pty_pairs = 64;
ProtectedValue<Vector<unsigned, max_pty_pairs>> m_freelist;
MutexProtected<Vector<unsigned, max_pty_pairs>> m_freelist;
};
}