diff --git a/src/java/org/lwjgl/test/SysTest.java b/src/java/org/lwjgl/test/SysTest.java index 26d75f5e..05dea621 100644 --- a/src/java/org/lwjgl/test/SysTest.java +++ b/src/java/org/lwjgl/test/SysTest.java @@ -57,7 +57,6 @@ public class SysTest { testAlert(); testDebug(); testTimer(); - testPriority(); testUrl(); testClipboard(); } @@ -101,24 +100,6 @@ public class SysTest { System.out.println("---- Test Timer ----\n"); } - /** - * Tests the priority - */ - private void testPriority() { - System.out.println("==== Test Priority ===="); - - busyWait(Sys.LOW_PRIORITY, 5, "Busy waiting in low priority..."); - busyWait(Sys.NORMAL_PRIORITY, 5, "Busy waiting in normal priority..."); - busyWait(Sys.HIGH_PRIORITY, 5, "Busy waiting in high priority..."); - busyWait(Sys.REALTIME_PRIORITY, 5, "Busy waiting in realtime priority (may lag the computer!)..."); - - // reset - System.out.println("Resetting to normal"); - Sys.setProcessPriority(Sys.NORMAL_PRIORITY); - - System.out.println("---- Test Priority ----\n"); - } - /** * Tests the alert */ @@ -154,7 +135,6 @@ public class SysTest { long future = Sys.getTime() + (Sys.getTimerResolution() * seconds); System.out.print(message); - Sys.setProcessPriority(priority); // waste some cycles while (Sys.getTime() < future) { diff --git a/src/java/org/lwjgl/test/fmod3/SyncTest.java b/src/java/org/lwjgl/test/fmod3/SyncTest.java index cd132d78..f7fc0d5d 100644 --- a/src/java/org/lwjgl/test/fmod3/SyncTest.java +++ b/src/java/org/lwjgl/test/fmod3/SyncTest.java @@ -136,8 +136,6 @@ public class SyncTest { // if we have a module - get going if (module != null) { - // high priority... - might otherwise skip - Sys.setProcessPriority(Sys.HIGH_PRIORITY); // go go go! run(); @@ -258,4 +256,4 @@ public class SyncTest { FSound.FSOUND_Close(); FMOD.destroy(); } -} \ No newline at end of file +}