From 34d05d83f6cc420ec0b963e81af8cb3a2eda900e Mon Sep 17 00:00:00 2001 From: David Xu Date: Sun, 23 Mar 2008 02:03:06 +0000 Subject: [PATCH] Remove commented out code, thread suspension is done in thread library. --- sys/kern/kern_thr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c index 61d9a888873b..8c89ee275bcb 100644 --- a/sys/kern/kern_thr.c +++ b/sys/kern/kern_thr.c @@ -247,8 +247,7 @@ create_thread(struct thread *td, mcontext_t *ctx, } /* ignore timesharing class */ } TD_SET_CAN_RUN(newtd); - /* if ((flags & THR_SUSPENDED) == 0) */ - sched_add(newtd, SRQ_BORING); + sched_add(newtd, SRQ_BORING); thread_unlock(newtd); return (error);