summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index 61d9a88..8c89ee2 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);
OpenPOWER on IntegriCloud