From 04572e7a4299ed9dc412db7c5baeec9eabe464a3 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Fri, 2 Aug 2024 11:00:13 +0200 Subject: [IMP] New PROCESS_HEADER_BLOCK structure instead of ProcessHeader. [IMP] PEF_SHARED_OBJECT_TRAITS with IsValid() method. [IMP] HTTPS and ODBC for URLs support. Signed-off-by: Amlal EL Mahrouss --- Kernel/KernelKit/Semaphore.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Kernel/KernelKit/Semaphore.hpp') diff --git a/Kernel/KernelKit/Semaphore.hpp b/Kernel/KernelKit/Semaphore.hpp index 29223b6f..1f67dbc6 100644 --- a/Kernel/KernelKit/Semaphore.hpp +++ b/Kernel/KernelKit/Semaphore.hpp @@ -12,9 +12,9 @@ namespace Kernel { - class ProcessHeader; + class PROCESS_HEADER_BLOCK; - typedef ProcessHeader* ProcessHeaderRef; + typedef PROCESS_HEADER_BLOCK* ProcessHeaderRef; /// @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(ProcessHeader* process); - bool LockOrWait(ProcessHeader* process, HardwareTimerInterface* timer); + bool Lock(PROCESS_HEADER_BLOCK* process); + bool LockOrWait(PROCESS_HEADER_BLOCK* process, HardwareTimerInterface* timer); public: NEWOS_COPY_DEFAULT(Semaphore); -- cgit v1.2.3