summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/Plan9FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/FileSystem/Plan9FileSystem.h')
-rw-r--r--Kernel/FileSystem/Plan9FileSystem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/FileSystem/Plan9FileSystem.h b/Kernel/FileSystem/Plan9FileSystem.h
index 105ba05b7a..30788b5d06 100644
--- a/Kernel/FileSystem/Plan9FileSystem.h
+++ b/Kernel/FileSystem/Plan9FileSystem.h
@@ -50,9 +50,9 @@ private:
class Blocker;
- class Plan9FSBlockCondition final : public Thread::BlockCondition {
+ class Plan9FSBlockerSet final : public Thread::BlockerSet {
public:
- Plan9FSBlockCondition(Plan9FS& fs)
+ Plan9FSBlockerSet(Plan9FS& fs)
: m_fs(fs)
{
}
@@ -87,7 +87,7 @@ private:
, m_message(message)
, m_completion(move(completion))
{
- set_block_condition(fs.m_completion_blocker);
+ add_to_blocker_set(fs.m_completion_blocker);
}
virtual StringView state_string() const override { return "Waiting"sv; }
virtual Type blocker_type() const override { return Type::Plan9FS; }
@@ -136,7 +136,7 @@ private:
size_t m_max_message_size { 4 * KiB };
Mutex m_send_lock { "Plan9FS send" };
- Plan9FSBlockCondition m_completion_blocker;
+ Plan9FSBlockerSet m_completion_blocker;
HashMap<u16, NonnullRefPtr<ReceiveCompletion>> m_completions;
Spinlock<u8> m_thread_lock;