mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-13 01:37:55 -06:00
sched: Introduce sched_wake_tasks() function to wake up tasks
Add function to indicate when tasks need to be run. This will allow the scheduler code to know if there are any tasks that need to be processed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
e9d2ec7c41
commit
a9982beacf
10 changed files with 74 additions and 10 deletions
|
@ -29,6 +29,7 @@ struct task_wake {
|
|||
void sched_add_timer(struct timer*);
|
||||
void sched_del_timer(struct timer *del);
|
||||
unsigned int sched_timer_dispatch(void);
|
||||
void sched_wake_tasks(void);
|
||||
void sched_wake_task(struct task_wake *w);
|
||||
uint8_t sched_check_wake(struct task_wake *w);
|
||||
uint8_t sched_is_shutdown(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue