amd64: insert idle threads
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
54803ed29b
commit
33d6f72cfe
3 changed files with 14 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ tid_t sys_fork()
|
|||
|
||||
extern void kthread_entry();
|
||||
|
||||
struct thread *thread_kthread(void (*fn)(void *), void *arg, const char *name)
|
||||
struct thread *kthread_create(void *fn, void *arg, const char *name)
|
||||
{
|
||||
struct thread *thread = slab_alloc(thread_slab);
|
||||
if (!thread)
|
||||
|
|
|
|||
Loading…
Reference in a new issue