From 99826c21b9da1c3a74fd8b3ebc08c7f8dbfadd30 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 14 Jan 2025 11:52:02 +0100 Subject: T& Labs's ZKA, Multi-Processor Operating System. Signed-off-by: Amlal El Mahrouss --- dev/Kernel/KernelKit/Semaphore.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev/Kernel/KernelKit/Semaphore.h') diff --git a/dev/Kernel/KernelKit/Semaphore.h b/dev/Kernel/KernelKit/Semaphore.h index 11e04b90..a3904f01 100644 --- a/dev/Kernel/KernelKit/Semaphore.h +++ b/dev/Kernel/KernelKit/Semaphore.h @@ -1,6 +1,6 @@ /* ------------------------------------------- - Copyright (C) 2024, t& Corporation, all rights reserved. + Copyright (C) 2024, t& Labs, all rights reserved. ------------------------------------------- */ @@ -12,9 +12,9 @@ namespace Kernel { - class UserThread; + class UserProcess; - typedef UserThread& UserProcessRef; + typedef UserProcess& UserProcessRef; /// @brief Access control class, which locks a task until one is done. class Semaphore final @@ -31,8 +31,8 @@ namespace Kernel void WaitForProcess() noexcept; public: - bool Lock(UserThread& process); - bool LockOrWait(UserThread& process, TimerInterface* timer); + bool Lock(UserProcess& process); + bool LockOrWait(UserProcess& process, TimerInterface* timer); public: ZKA_COPY_DEFAULT(Semaphore); -- cgit v1.2.3