mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel: Rename Lock to Mutex
Let's be explicit about what kind of lock this is meant to be.
This commit is contained in:
parent
a803c4026c
commit
cee9528168
51 changed files with 140 additions and 140 deletions
|
@ -38,10 +38,10 @@ public:
|
|||
void unregister_process(Process&);
|
||||
|
||||
ProcFSRootDirectory& root_folder() { return *m_root_folder; }
|
||||
Lock& get_lock() { return m_lock; }
|
||||
Mutex& get_lock() { return m_lock; }
|
||||
|
||||
private:
|
||||
Lock m_lock;
|
||||
Mutex m_lock;
|
||||
NonnullRefPtr<ProcFSRootDirectory> m_root_folder;
|
||||
};
|
||||
|
||||
|
@ -120,7 +120,7 @@ protected:
|
|||
virtual bool acquire_link(KBufferBuilder& builder) = 0;
|
||||
explicit ProcFSExposedLink(StringView name);
|
||||
ProcFSExposedLink(StringView name, InodeIndex preallocated_index);
|
||||
mutable Lock m_lock { "ProcFSLink" };
|
||||
mutable Mutex m_lock { "ProcFSLink" };
|
||||
};
|
||||
|
||||
class ProcFSProcessDirectory final
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue