mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Make default_priority naming consistent
The naming was default_pri in process, but default_priority in scheduler. Normalize to the longer name.
This commit is contained in:
@@ -19,7 +19,7 @@ public:
|
||||
constexpr static size_t stack_size = 0x4000;
|
||||
|
||||
/// Value that represents default priority
|
||||
constexpr static uint8_t default_pri = 0xff;
|
||||
constexpr static uint8_t default_priority = 0xff;
|
||||
|
||||
/// Constructor.
|
||||
process();
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
/// \args priority The new thread's scheduling priority
|
||||
/// \args user If true, create a userspace stack for this thread
|
||||
/// \returns The newly created thread object
|
||||
thread * create_thread(uint8_t priorty = default_pri, bool user = true);
|
||||
thread * create_thread(uint8_t priorty = default_priority, bool user = true);
|
||||
|
||||
/// Start tracking an object with a handle.
|
||||
/// \args obj The object this handle refers to
|
||||
|
||||
Reference in New Issue
Block a user