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

This commit is contained in:
davidxu 2008-03-23 02:03:06 +00:00
parent 8103d042fb
commit c32a483ae9

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