summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_threads.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-25 06:30:15 +0000
committerbde <bde@FreeBSD.org>1998-02-25 06:30:15 +0000
commite15b8a8b3af287f4ca10996099831d8f294394d3 (patch)
tree4a8bda5c5d6ec4f42ededa2199f4009fd7435274 /sys/kern/kern_threads.c
parentdf1db50d545736650226e73a1f167e365c4dad3a (diff)
downloadFreeBSD-src-e15b8a8b3af287f4ca10996099831d8f294394d3.zip
FreeBSD-src-e15b8a8b3af287f4ca10996099831d8f294394d3.tar.gz
Removed a stale comment and staler code.
Diffstat (limited to 'sys/kern/kern_threads.c')
-rw-r--r--sys/kern/kern_threads.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/kern_threads.c b/sys/kern/kern_threads.c
index d618aad..27d7cec 100644
--- a/sys/kern/kern_threads.c
+++ b/sys/kern/kern_threads.c
@@ -46,7 +46,7 @@
* in Germany will I accept domestic beer. This code may or may not work
* and I certainly make no claims as to its fitness for *any* purpose.
*
- * $Id: kern_threads.c,v 1.4 1997/11/06 19:29:16 phk Exp $
+ * $Id: kern_threads.c,v 1.5 1997/11/07 08:52:57 phk Exp $
*/
#include <sys/param.h>
@@ -91,17 +91,10 @@ thr_sleep(struct proc *p, struct thr_sleep_args *uap) {
p->p_wakeup = 0;
return (EINVAL);
}
-
- /*
- * XXX this is not as careful as settimeofday() about minimising
- * interrupt latency. The hzto() interface is inconvenient as usual.
- */
s = splclock();
timevaladd(&atv, &time);
timo = hzto(&atv);
splx(s);
- if (timo == 0)
- timo = 1;
}
p->p_retval[0] = 0;
OpenPOWER on IntegriCloud