diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-21 23:31:15 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 03:34:09 +0200 |
commit | c2fc33becd8df6b84a7487565287d34e4607d588 (patch) | |
tree | de529a4670e0d75ae2a64627fea41a18ca9f6c06 /Kernel/Net/Routing.h | |
parent | 81d990b551b79af027b44463b1e7da35ec62c1b4 (diff) | |
download | serenity-c2fc33becd8df6b84a7487565287d34e4607d588.zip |
Kernel: Rename ProtectedValue<T> => MutexProtected<T>
Let's make it obvious what we're protecting it with.
Diffstat (limited to 'Kernel/Net/Routing.h')
-rw-r--r-- | Kernel/Net/Routing.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/Routing.h b/Kernel/Net/Routing.h index edae3464eb..eeb7a12c7b 100644 --- a/Kernel/Net/Routing.h +++ b/Kernel/Net/Routing.h @@ -6,7 +6,7 @@ #pragma once -#include <Kernel/Locking/ProtectedValue.h> +#include <Kernel/Locking/MutexProtected.h> #include <Kernel/Net/NetworkAdapter.h> #include <Kernel/Thread.h> @@ -27,6 +27,6 @@ enum class UpdateArp { void update_arp_table(const IPv4Address&, const MACAddress&, UpdateArp update); RoutingDecision route_to(const IPv4Address& target, const IPv4Address& source, const RefPtr<NetworkAdapter> through = nullptr); -ProtectedValue<HashMap<IPv4Address, MACAddress>>& arp_table(); +MutexProtected<HashMap<IPv4Address, MACAddress>>& arp_table(); } |