Remove commented out code, thread suspension is done in thread library.

This commit is contained in:
David Xu 2008-03-23 02:03:06 +00:00
parent e6b2545b3b
commit 34d05d83f6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177514

View File

@ -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);