summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit/BinaryMutex.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-22 22:11:14 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-22 22:11:14 +0200
commitd67240d20d1d4bbe33134e640fd632cfd5fc6795 (patch)
tree999395dbf586a8cb704376024de60f7d80f21f4e /dev/kernel/KernelKit/BinaryMutex.h
parent70756582de9f79eb2961c7aa91f1b0cdfe11cfc4 (diff)
dev, kernel: WiP changes done to kernel and SysChk module.
- Getting SysChk to work again. - Refactor scheduler. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/KernelKit/BinaryMutex.h')
-rw-r--r--dev/kernel/KernelKit/BinaryMutex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/kernel/KernelKit/BinaryMutex.h b/dev/kernel/KernelKit/BinaryMutex.h
index 675396fd..ec1e355d 100644
--- a/dev/kernel/KernelKit/BinaryMutex.h
+++ b/dev/kernel/KernelKit/BinaryMutex.h
@@ -12,9 +12,9 @@
namespace Kernel
{
- class Process;
+ class UserProcess;
- typedef Process& UserProcessRef;
+ typedef UserProcess& UserProcessRef;
/// @brief Access control class, which locks a task until one is done.
class BinaryMutex final
@@ -31,8 +31,8 @@ namespace Kernel
BOOL WaitForProcess(const Int16& sec) noexcept;
public:
- bool Lock(Process& process);
- bool LockOrWait(Process& process, TimerInterface* timer);
+ bool Lock(UserProcess& process);
+ bool LockOrWait(UserProcess& process, TimerInterface* timer);
public:
NE_COPY_DEFAULT(BinaryMutex)