Convert remaining Threads to I2PThread or I2PAppThread

This commit is contained in:
zzz
2015-10-31 19:13:57 +00:00
parent 02c1417cc5
commit c37cc7ad52
13 changed files with 51 additions and 24 deletions

View File

@ -38,9 +38,17 @@ public class I2PAppThread extends I2PThread {
public I2PAppThread(Runnable r, String name) {
super(r, name);
}
public I2PAppThread(Runnable r, String name, boolean isDaemon) {
super(r, name, isDaemon);
}
/**
* @since 0.9.23
*/
public I2PAppThread(ThreadGroup group, Runnable r, String name) {
super(group, r, name);
}
@Override
protected void fireOOM(OutOfMemoryError oom) {

View File

@ -73,6 +73,14 @@ public class I2PThread extends Thread {
// _createdBy = new Exception("Created by");
}
/**
* @since 0.9.23
*/
public I2PThread(ThreadGroup group, Runnable r, String name) {
super(group, r, name);
setPriority(NORM_PRIORITY);
}
/****
private void log(int level, String msg) { log(level, msg, null); }