diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-18 01:13:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-18 01:53:04 +0200 |
commit | 9457d83986a9c4dce4a0e75a1d005aa7dd60f5cf (patch) | |
tree | c74f6434d1ed96276df14fb749ca5880033318d2 /Kernel/FileSystem/FIFO.cpp | |
parent | ab50a1480f340932868cfbb788210fb37da9c18f (diff) | |
download | serenity-9457d83986a9c4dce4a0e75a1d005aa7dd60f5cf.zip |
Kernel: Rename Locker => MutexLocker
Diffstat (limited to 'Kernel/FileSystem/FIFO.cpp')
-rw-r--r-- | Kernel/FileSystem/FIFO.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/FIFO.cpp b/Kernel/FileSystem/FIFO.cpp index 6c91e5d240..74c4de39f3 100644 --- a/Kernel/FileSystem/FIFO.cpp +++ b/Kernel/FileSystem/FIFO.cpp @@ -41,7 +41,7 @@ KResultOr<NonnullRefPtr<FileDescription>> FIFO::open_direction(FIFO::Direction d KResultOr<NonnullRefPtr<FileDescription>> FIFO::open_direction_blocking(FIFO::Direction direction) { - Locker locker(m_open_lock); + MutexLocker locker(m_open_lock); auto description = open_direction(direction); if (description.is_error()) @@ -73,7 +73,7 @@ KResultOr<NonnullRefPtr<FileDescription>> FIFO::open_direction_blocking(FIFO::Di FIFO::FIFO(uid_t uid) : m_uid(uid) { - Locker locker(all_fifos().lock()); + MutexLocker locker(all_fifos().lock()); all_fifos().resource().set(this); m_fifo_id = ++s_next_fifo_id; @@ -85,7 +85,7 @@ FIFO::FIFO(uid_t uid) FIFO::~FIFO() { - Locker locker(all_fifos().lock()); + MutexLocker locker(all_fifos().lock()); all_fifos().resource().remove(this); } |