sched: add function to create per-cpu idle threads
This commit is contained in:
@@ -156,6 +156,9 @@ static inline void task_unlock_irqrestore(struct task *task, unsigned long flags
|
||||
extern struct thread *thread_alloc(void);
|
||||
extern kern_status_t thread_init(struct thread *thr, uintptr_t ip);
|
||||
extern int thread_priority(struct thread *thr);
|
||||
extern void idle(void);
|
||||
|
||||
extern struct thread *create_idle_thread(void);
|
||||
|
||||
extern void add_timer(struct timer *timer);
|
||||
extern void remove_timer(struct timer *timer);
|
||||
|
||||
Reference in New Issue
Block a user