Increase timer thread priority

This commit is contained in:
zzz committed 2015-10-21 13:11:35 +00:00
1 parent f713a19785
commit 6efce31eed
3 files changed
+3 -1

No files matched your search

@@ -118,6 +118,7 @@ public class SimpleTimer2 {
// (new Exception("OWCH! DAMN! Wrong ThreadGroup `" + name +"', `" + rv.getName() + "'")).printStackTrace();
// }
rv.setDaemon(true);
rv.setPriority(Thread.NORM_PRIORITY + 1);
return rv;
}
}