From 7585cb5ad84babe9db8c6595de464e33fb878f0c Mon Sep 17 00:00:00 2001 From: sotech117 Date: Mon, 13 May 2024 12:10:55 +0000 Subject: s5 fixes and issues with weenix --- kernel/proc/kthread.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'kernel/proc/kthread.c') diff --git a/kernel/proc/kthread.c b/kernel/proc/kthread.c index b614ac3..722d932 100644 --- a/kernel/proc/kthread.c +++ b/kernel/proc/kthread.c @@ -140,8 +140,6 @@ kthread_t *kthread_clone(kthread_t *thr) new_thread->kt_kstack = new_thread->kt_ctx.c_kstack; new_thread->kt_ctx.c_kstacksz = DEFAULT_STACK_SIZE; - // context_setup(&new_thread->kt_ctx, NULL, 0, NULL, new_thread->kt_kstack, - // DEFAULT_STACK_SIZE, thr->kt_proc->p_pml4); (done in fork, I hope) // set the retval, errno, cancelled new_thread->kt_retval = thr->kt_retval; @@ -154,7 +152,6 @@ kthread_t *kthread_clone(kthread_t *thr) list_init(&new_thread->kt_mutexes); list_link_init(&new_thread->kt_plink); list_link_init(&new_thread->kt_qlink); - // list_insert_tail(&thr->kt_proc->p_threads, &new_thread->kt_plink); (done in fork) return new_thread; } -- cgit v1.2.3-70-g09d2