Name the loading thread and ask java to push its priority down.

This commit is contained in:
Kevin Ruland 2012-08-24 00:21:33 +00:00
parent bf14638e07
commit 597dabc47e

View File

@ -171,6 +171,11 @@ public abstract class ComponentPresetDatabase extends Database<ComponentPreset>
* Background thread for loading the presets.
*/
private class LoadingThread extends Thread {
private LoadingThread() {
this.setName("PresetLoadingThread");
this.setPriority(MIN_PRIORITY);
}
@Override
public void run() {
load();