1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 18:20:43 +09:00

Kernel: Remove unused bool return values from scheduler functions

Turns out nobody actually cared whether the scheduler switched to a new
thread or not (which is what we were returning.)
This commit is contained in:
Andreas Kling 2022-01-30 14:29:37 +01:00
parent a6b5065d94
commit cffcfca80a
Notes: sideshowbarker 2024-07-17 19:59:39 +09:00
2 changed files with 10 additions and 17 deletions

View file

@ -36,9 +36,9 @@ public:
static void set_idle_thread(Thread* idle_thread);
static void timer_tick(const RegisterState&);
[[noreturn]] static void start();
static bool pick_next();
static bool yield();
static bool context_switch(Thread*);
static void pick_next();
static void yield();
static void context_switch(Thread*);
static void enter_current(Thread& prev_thread);
static void leave_on_first_switch(u32 flags);
static void prepare_after_exec();