sched: thread: implement cloning of userspace thread contexts

This commit is contained in:
2026-04-01 18:29:54 +01:00
parent 61050fd54b
commit 6c5bf2344f
4 changed files with 66 additions and 0 deletions
+4
View File
@@ -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);