summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit/LockDelegate.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/KernelKit/LockDelegate.hpp')
-rw-r--r--Kernel/KernelKit/LockDelegate.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Kernel/KernelKit/LockDelegate.hpp b/Kernel/KernelKit/LockDelegate.hpp
index 24eab70a..36a68054 100644
--- a/Kernel/KernelKit/LockDelegate.hpp
+++ b/Kernel/KernelKit/LockDelegate.hpp
@@ -9,11 +9,14 @@
#include <NewKit/Atom.hpp>
#include <NewKit/Defines.hpp>
-#define kLockDone (200U) /* job is done */
-#define kLockTimedOut (100U) /* job has timed out */
-
namespace Kernel
{
+ enum
+ {
+ kLockDone = 200,
+ kLockTimedOut,
+ };
+
/// @brief Lock condition pointer.
typedef Boolean* LockPtr;