public class Thread {
- /* Don't allow overriding this method. If you do, it will break dispatch
- * because we don't have the type information necessary. */
- public boolean threadDone;
+ /* Don't allow overriding this method. If you do, it will break dispatch
+ * because we don't have the type information necessary. */
+ public boolean threadDone;
- public Thread() {
- threadDone = false;
- }
+ public Thread() {
+ threadDone = false;
+ }
- public static native void yield();
+ public static native void yield();
- public final native void join();
+ public final native void join();
- public final native void start(int mid);
+ public final native void start(int mid);
- public native static void sleep(long millis);
-
- public void run() {
- }
+ public native static void sleep(long millis);
+
+ public void run() {
+ }
}