2 /* Don't allow overriding this method. If you do, it will break dispatch
3 * because we don't have the type information necessary. */
4 public boolean threadDone;
11 public static native void yield();
13 public final native void join();
15 public final native void start(int mid);
17 public static void myStart(Thread t, int mid)
25 public native static int nativeGetStatus(int mid);
27 public native static void sleep(long millis);
32 public static int getStatus(int mid)
34 if(nativeGetStatus(mid)==1)
36 //TODO:check if this is safe to add only for the DSM without the recovery version
37 if(nativeGetStatus(mid)==0)
44 public int getStatus() {
45 if(nativeGetStatus(mid)==1)
47 //TODO:check if this is safe to add only for the DSM without the recovery version
48 if(nativeGetStatus(mid)==0)