mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:48:14 +00:00
Kernel: Rename ProtectedValue<T> => MutexProtected<T>
Let's make it obvious what we're protecting it with.
This commit is contained in:
parent
81d990b551
commit
c2fc33becd
18 changed files with 57 additions and 56 deletions
|
@ -26,11 +26,11 @@
|
|||
|
||||
namespace Kernel {
|
||||
|
||||
static Singleton<ProtectedValue<IPv4Socket::List>> s_all_sockets;
|
||||
static Singleton<MutexProtected<IPv4Socket::List>> s_all_sockets;
|
||||
|
||||
using BlockFlags = Thread::FileDescriptionBlocker::BlockFlags;
|
||||
|
||||
ProtectedValue<IPv4Socket::List>& IPv4Socket::all_sockets()
|
||||
MutexProtected<IPv4Socket::List>& IPv4Socket::all_sockets()
|
||||
{
|
||||
return *s_all_sockets;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue