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:
parent
a6b5065d94
commit
cffcfca80a
Notes:
sideshowbarker
2024-07-17 19:59:39 +09:00
Author: https://github.com/awesomekling
Commit: cffcfca80a
2 changed files with 10 additions and 17 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue