Name the loader thread and ask java to use min priority.
This commit is contained in:
parent
e24b1dda9b
commit
c5804a0be7
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user