sched: implement various ways to end tasks and threads
This commit is contained in:
@@ -59,6 +59,9 @@ extern kern_status_t thread_init_user(
|
||||
size_t nr_args);
|
||||
extern int thread_priority(struct thread *thr);
|
||||
extern void thread_awaken(struct thread *thr);
|
||||
extern void thread_exit(void);
|
||||
extern void thread_join(struct thread *thread, unsigned long *irq_flags);
|
||||
extern void thread_kill(struct thread *thread);
|
||||
extern void idle(void);
|
||||
extern struct thread *create_kernel_thread(void (*fn)(void));
|
||||
extern struct thread *create_idle_thread(void);
|
||||
|
||||
Reference in New Issue
Block a user