reduce async task priority

This commit is contained in:
Hannes Janetzek 2014-02-01 13:27:22 +01:00
parent 5e722c091f
commit a5c9b9edac

View File

@ -49,6 +49,7 @@ public class AsyncExecutor {
public Thread newThread(Runnable r) {
Thread thread = new Thread(r, "VtmAsyncExecutor");
thread.setDaemon(true);
thread.setPriority(Thread.NORM_PRIORITY - 1);
return thread;
}
});