sch.add(new MyThread("Rolf"));
sch.addPrio(new MyThread("Gabi2"));
sch.addPrio(new MyThread("Gabi3"));
sch.addPrio(new MyThread("Gabi4"));
Util.sleep(1000); // increase this if you want to see all thread running (and possibly completing)
sch.stop();
}
public static void main(String[] args) {
String[] testCaseName={SchedulerTest.class.getName()};
junit.textui.TestRunner.main(testCaseName);