mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
scheduler: begin rework
This commit is contained in:
@@ -23,4 +23,8 @@ void sched_reschedule_on_cpu(struct cpu_t *cpu, bool target);
|
||||
void sched_sleep_us(size_t us);
|
||||
int sched_yield();
|
||||
|
||||
void sched_thread_running_callback(thread_t *thread);
|
||||
void sched_thread_stopping_callback(thread_t *thread, bool sleeping);
|
||||
void sched_thread_wakeup_callback(thread_t *thread);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user