Name the loader thread and ask java to use min priority.

This commit is contained in:
Kevin Ruland 2012-08-24 00:26:15 +00:00
parent e24b1dda9b
commit c5804a0be7

View File

@ -204,6 +204,10 @@ public abstract class ThrustCurveMotorSetDatabase implements MotorDatabase {
* marks the database as loaded and notifies any blocked threads.
*/
private class LoadingThread extends Thread {
private LoadingThread() {
this.setName("MotorLoadingThread");
this.setPriority(MIN_PRIORITY);
}
@Override
public void run() {
performMotorLoading();