Increase timer thread priority

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

View File

@ -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;
}
}