mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Rename ScopedSpinlock => SpinlockLocker
This matches MutexLocker, and doesn't sound like it's a lock itself.
This commit is contained in:
parent
55adace359
commit
c922a7da09
78 changed files with 365 additions and 366 deletions
|
@ -636,7 +636,7 @@ public:
|
|||
|
||||
KResult try_clone(const Kernel::Process::FileDescriptions& other)
|
||||
{
|
||||
ScopedSpinlock lock_other(other.m_fds_lock);
|
||||
SpinlockLocker lock_other(other.m_fds_lock);
|
||||
if (!try_resize(other.m_fds_metadatas.size()))
|
||||
return ENOMEM;
|
||||
|
||||
|
@ -667,7 +667,7 @@ public:
|
|||
|
||||
void clear()
|
||||
{
|
||||
ScopedSpinlock lock(m_fds_lock);
|
||||
SpinlockLocker lock(m_fds_lock);
|
||||
m_fds_metadatas.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue