aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2002-10-26 04:44:17 +0000
committerJulian Elischer <julian@FreeBSD.org>2002-10-26 04:44:17 +0000
commit053effc60e3399aed3ddcd1a61c57c3eb9ccc9ae (patch)
treed2c2261decd2b0cb6aaeebb97f2935d4658e729e /sys/kern/kern_thread.c
parent1ba72e3513170d25d664280669eb7b8eaace769e (diff)
Notes
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 7721788c6324..2b4ad4a19e21 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -1241,18 +1241,6 @@ thread_userret(struct thread *td, struct trapframe *frame)
p = td->td_proc;
/*
- * We need to check to see if we have to exit or wait due to a
- * single threading requirement or some other STOP condition.
- * Don't bother doing all the work if the stop bits are not set
- * at this time.. If we miss it, we miss it.. no big deal.
- */
- if (P_SHOULDSTOP(p)) {
- PROC_LOCK(p);
- thread_suspend_check(0); /* Can suspend or kill */
- PROC_UNLOCK(p);
- }
-
- /*
* Originally bound threads never upcall but they may
* loan out their KSE at this point.
* Upcalls imply bound.. They also may want to do some Philantropy.