Files
kernel/include/sys/sched.h
T
2020-02-03 13:40:03 +02:00

15 lines
303 B
C

#pragma once
enum thread_state;
struct thread;
void sched_queue(struct thread *thr);
void sched_unqueue(struct thread *thr, enum thread_state new_state);
void sched_debug_cycle(uint64_t delta_ms);
void sched_reboot(unsigned int cmd);
void yield(void);
void sched_init(void);
void sched_enter(void);