sched: thread: implement cloning of userspace thread contexts
This commit is contained in:
@@ -62,6 +62,10 @@ extern kern_status_t thread_init_user(
|
||||
virt_addr_t sp,
|
||||
const uintptr_t *args,
|
||||
size_t nr_args);
|
||||
extern kern_status_t thread_init_user_clone(
|
||||
struct thread *thr,
|
||||
const struct thread *src,
|
||||
uintptr_t return_value);
|
||||
extern int thread_priority(struct thread *thr);
|
||||
extern void thread_awaken(struct thread *thr);
|
||||
extern void thread_exit(void);
|
||||
|
||||
Reference in New Issue
Block a user