diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-06 14:52:33 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-04-06 14:52:33 +0200 |
| commit | 32f75625830660468287de0f213baee760fc6384 (patch) | |
| tree | aaa8286ee13a4188d826d4efd59482c7b1aa0e73 /Private/KernelKit/LockDelegate.hpp | |
| parent | 422b8029eba71b6fbb6b3dcb386b8e115bbd08ef (diff) | |
:boom: Breaking changes, disk API improvemenets and bringing support for
more drivers...
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/KernelKit/LockDelegate.hpp')
| -rw-r--r-- | Private/KernelKit/LockDelegate.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Private/KernelKit/LockDelegate.hpp b/Private/KernelKit/LockDelegate.hpp index 07f492a8..3b4889c9 100644 --- a/Private/KernelKit/LockDelegate.hpp +++ b/Private/KernelKit/LockDelegate.hpp @@ -34,13 +34,13 @@ class LockDelegate final { if (*expr) { - m_LockStatus | kLockDone; + fLockStatus | kLockDone; break; } } if (spin == N) - m_LockStatus | kLockTimedOut; + fLockStatus | kLockTimedOut; } ~LockDelegate() = default; @@ -50,15 +50,15 @@ class LockDelegate final bool Done() { - return m_LockStatus[kLockDone] == kLockDone; + return fLockStatus[kLockDone] == kLockDone; } bool HasTimedOut() { - return m_LockStatus[kLockTimedOut] != kLockTimedOut; + return fLockStatus[kLockTimedOut] != kLockTimedOut; } private: - Atom<UInt> m_LockStatus; + Atom<UInt> fLockStatus; }; } // namespace NewOS |
