diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-22 01:49:22 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-22 03:34:10 +0200 |
commit | c922a7da090d57ed36cf8526e985b82ec3f4933f (patch) | |
tree | d4791565a1149af47eae4cb4470f875e0644f18c /Kernel/Net | |
parent | 55adace359bfda606b445b5177ce5138687d4626 (diff) | |
download | serenity-c922a7da090d57ed36cf8526e985b82ec3f4933f.zip |
Kernel: Rename ScopedSpinlock => SpinlockLocker
This matches MutexLocker, and doesn't sound like it's a lock itself.
Diffstat (limited to 'Kernel/Net')
-rw-r--r-- | Kernel/Net/Routing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Net/Routing.cpp b/Kernel/Net/Routing.cpp index 9388334230..84d9933cf6 100644 --- a/Kernel/Net/Routing.cpp +++ b/Kernel/Net/Routing.cpp @@ -34,7 +34,7 @@ public: return false; { - ScopedSpinlock lock(m_lock); + SpinlockLocker lock(m_lock); if (m_did_unblock) return false; m_did_unblock = true; @@ -97,7 +97,7 @@ void ARPTableBlocker::not_blocking(bool timeout_in_past) return table.get(ip_addr()); }); - ScopedSpinlock lock(m_lock); + SpinlockLocker lock(m_lock); if (!m_did_unblock) { m_did_unblock = true; m_addr = move(addr); |