From 597dabc47e8a246617094e3d8499e0b0076af7fb Mon Sep 17 00:00:00 2001 From: Kevin Ruland Date: Fri, 24 Aug 2012 00:21:33 +0000 Subject: [PATCH] Name the loading thread and ask java to push its priority down. --- .../net/sf/openrocket/database/ComponentPresetDatabase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/net/sf/openrocket/database/ComponentPresetDatabase.java b/core/src/net/sf/openrocket/database/ComponentPresetDatabase.java index 26cec70d2..bb2fae2b9 100644 --- a/core/src/net/sf/openrocket/database/ComponentPresetDatabase.java +++ b/core/src/net/sf/openrocket/database/ComponentPresetDatabase.java @@ -171,6 +171,11 @@ public abstract class ComponentPresetDatabase extends Database * 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();