Remove commented out code, thread suspension is done in thread library.
This commit is contained in:
parent
8103d042fb
commit
c32a483ae9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user