amd64: insert idle threads

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-08-12 22:11:11 -04:00
commit 33d6f72cfe
Signed by: michaelsshaw
GPG key ID: 5A5E0FB20708A9E7
3 changed files with 14 additions and 2 deletions

View file

@ -77,7 +77,7 @@ ssize_t thread_load_file(const char *file, struct thread *thread);
struct thread *thread_create(void);
struct thread *thread_fork(struct thread *parent);
int thread_set_entry(struct thread *thread, uaddr_t entry);
struct thread *thread_kthread(void (*fn)(void *), void *arg, const char *name);
struct thread *kthread_create(void *fn, void *arg, const char *name);
void thread_free(struct thread *thread);
void thread_init();
tid_t alloc_tid();