home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &… the Search for Life CD 3 / 0_CD-ROM.iso / install / jre1_3 / lib / rt.jar / sun / misc / VM.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  884 b   |  43 lines

  1. package sun.misc;
  2.  
  3. // $FF: renamed from: sun.misc.VM
  4. public class class_0 {
  5.    private static boolean suspended = false;
  6.    public static final int STATE_GREEN = 1;
  7.    public static final int STATE_YELLOW = 2;
  8.    public static final int STATE_RED = 3;
  9.  
  10.    public static boolean threadsSuspended() {
  11.       return suspended;
  12.    }
  13.  
  14.    public static boolean allowThreadSuspension(ThreadGroup var0, boolean var1) {
  15.       return var0.allowThreadSuspension(var1);
  16.    }
  17.  
  18.    public static boolean suspendThreads() {
  19.       suspended = true;
  20.       return true;
  21.    }
  22.  
  23.    public static void unsuspendThreads() {
  24.       suspended = false;
  25.    }
  26.  
  27.    public static void unsuspendSomeThreads() {
  28.    }
  29.  
  30.    public static final int getState() {
  31.       return 1;
  32.    }
  33.  
  34.    public static void registerVMNotification(VMNotification var0) {
  35.    }
  36.  
  37.    public static void asChange(int var0, int var1) {
  38.    }
  39.  
  40.    public static void asChange_otherthread(int var0, int var1) {
  41.    }
  42. }
  43.