summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit/BinaryMutex.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-13 08:27:07 +0200
committerGitHub <noreply@github.com>2025-04-13 08:27:07 +0200
commit126cc73bb933cd1b550c8c5b97d8621717fb1e6b (patch)
treef67922ba36b8a4847b0f1854f77da4466e64f7e6 /dev/kernel/KernelKit/BinaryMutex.h
parent799327413742309ab5def75d310df28576aefc7e (diff)
parentf30470c40229806a33c914ebdd1dbdf037c9698d (diff)
Merge pull request #17 from amlel-el-mahrouss/dev
dev, scheduler, ahci, dev: Refactor scheduler, and fix minor mistakes.
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 ec1e355d..675396fd 100644
--- a/dev/kernel/KernelKit/BinaryMutex.h
+++ b/dev/kernel/KernelKit/BinaryMutex.h
@@ -12,9 +12,9 @@
namespace Kernel
{
- class UserProcess;
+ class Process;
- typedef UserProcess& UserProcessRef;
+ typedef Process& 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(UserProcess& process);
- bool LockOrWait(UserProcess& process, TimerInterface* timer);
+ bool Lock(Process& process);
+ bool LockOrWait(Process& process, TimerInterface* timer);
public:
NE_COPY_DEFAULT(BinaryMutex)