Remove commented out code, thread suspension is done in thread library.
This commit is contained in:
parent
e6b2545b3b
commit
34d05d83f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177514
@ -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