Kenrel: Rename Scheduler::reschedule -> Scheduler::timer_reschedule

This commit is contained in:
Bananymous 2023-06-09 00:41:43 +03:00
parent 8af390e0f6
commit b7fc2dc3d0
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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()

View File

@ -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();