diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-02 11:00:13 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-08-02 11:00:13 +0200 |
| commit | 04572e7a4299ed9dc412db7c5baeec9eabe464a3 (patch) | |
| tree | a41e55a6dbd0a3c15e0a4006e935f9ac56c33c5c /Kernel/KernelKit/Semaphore.hpp | |
| parent | ce84d4c8745e8e1f4534a544ed48876f959485d3 (diff) | |
[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 <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/KernelKit/Semaphore.hpp')
| -rw-r--r-- | Kernel/KernelKit/Semaphore.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); |
