forked from Bananymous/banan-os
Kenrel: Rename Scheduler::reschedule -> Scheduler::timer_reschedule
This commit is contained in:
parent
8af390e0f6
commit
b7fc2dc3d0
|
@ -14,7 +14,7 @@ namespace Kernel
|
||||||
static Scheduler& get();
|
static Scheduler& get();
|
||||||
|
|
||||||
[[noreturn]] void start();
|
[[noreturn]] void start();
|
||||||
void reschedule();
|
void timer_reschedule();
|
||||||
void reschedule_if_idling();
|
void reschedule_if_idling();
|
||||||
|
|
||||||
void set_current_thread_sleeping(uint64_t);
|
void set_current_thread_sleeping(uint64_t);
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace PIT
|
||||||
void irq_handler()
|
void irq_handler()
|
||||||
{
|
{
|
||||||
s_system_time = s_system_time + 1;
|
s_system_time = s_system_time + 1;
|
||||||
Kernel::Scheduler::get().reschedule();
|
Kernel::Scheduler::get().timer_reschedule();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t ms_since_boot()
|
uint64_t ms_since_boot()
|
||||||
|
|
|
@ -64,7 +64,7 @@ namespace Kernel
|
||||||
return Scheduler::get().current_thread().tid();
|
return Scheduler::get().current_thread().tid();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scheduler::reschedule()
|
void Scheduler::timer_reschedule()
|
||||||
{
|
{
|
||||||
VERIFY_CLI();
|
VERIFY_CLI();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue