mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Add thread names for easier debugging and profiling
This commit is contained in:
@@ -162,6 +162,7 @@ public class EditorStatus extends JPanel {
|
||||
}
|
||||
}
|
||||
};
|
||||
thread.setName("Editor Status");
|
||||
thread.start();
|
||||
}
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ public class SingleInstance {
|
||||
}
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
}, "SingleInstance Server").start();
|
||||
|
||||
} catch (IOException e) {
|
||||
Base.log("Could not create single instance server.", e);
|
||||
@@ -170,4 +170,4 @@ public class SingleInstance {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ public class UpdateCheck {
|
||||
// }
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
}, "Update Checker").start();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -370,7 +370,7 @@ public class ContributionListing {
|
||||
}
|
||||
downloadingListingLock.unlock();
|
||||
}
|
||||
}).start();
|
||||
}, "Contribution List Downloader").start();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -165,7 +165,7 @@ public class ContributionManager {
|
||||
status.setErrorMessage("Could not write to temporary directory.");
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
}, "Contribution Installer").start();
|
||||
}
|
||||
|
||||
|
||||
@@ -224,7 +224,7 @@ public class ContributionManager {
|
||||
+ ad.getName());
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
}, "Contribution Installer").start();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -349,7 +349,7 @@ public abstract class LocalContribution extends Contribution {
|
||||
status,
|
||||
ContributionListing.getInstance());
|
||||
}
|
||||
}).start();
|
||||
}, "Contribution Uninstaller").start();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user