From 59faf706235f0e5f98ff6fc6f0ed8df1e8a06f35 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 10 Sep 2002 21:32:02 +0000 Subject: * vm/reference/java/lang/Thread.java: Fix comment threat -> thread. --- vm/reference/java/lang/Thread.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vm/reference/java/lang/Thread.java') diff --git a/vm/reference/java/lang/Thread.java b/vm/reference/java/lang/Thread.java index 23a379343..2f93d2451 100644 --- a/vm/reference/java/lang/Thread.java +++ b/vm/reference/java/lang/Thread.java @@ -286,7 +286,7 @@ public class Thread implements Runnable * Yield to another thread. The Thread will not lose any locks it holds * during this time. There are no guarantees which thread will be * next to run, and it could even be this one, but most VMs will choose - * the highest priority threat that has been waiting longest. + * the highest priority thread that has been waiting longest. */ public static native void yield(); @@ -294,7 +294,7 @@ public class Thread implements Runnable * Suspend the current Thread's execution for the specified amount of * time. The Thread will not lose any locks it has during this time. There * are no guarantees which thread will be next to run, but most VMs will - * choose the highest priority threat that has been waiting longest. + * choose the highest priority thread that has been waiting longest. * * @param ms the number of milliseconds to sleep, or 0 for forever * @throws InterruptedException if the Thread is interrupted; it's @@ -311,7 +311,7 @@ public class Thread implements Runnable * Suspend the current Thread's execution for the specified amount of * time. The Thread will not lose any locks it has during this time. There * are no guarantees which thread will be next to run, but most VMs will - * choose the highest priority threat that has been waiting longest. + * choose the highest priority thread that has been waiting longest. * *

Note that 1,000,000 nanoseconds == 1 millisecond, but most VMs do * not offer that fine a grain of timing resolution. Besides, there is -- cgit v1.2.1