forked from I2P_Developers/i2p.i2p
2005-12-16 jrandom
* Moved I2PSnark from using Threads to I2PThreads, so we handle OOMs
properly (thanks Complication!)
* More guards in I2PSnark for zany behavior (I2PSession recon w/ skew,
b0rking in the DirMonitor, etc)
This commit is contained in:
@@ -24,6 +24,7 @@ import java.io.*;
|
||||
import java.net.*;
|
||||
import java.util.*;
|
||||
|
||||
import net.i2p.util.I2PThread;
|
||||
import net.i2p.util.Log;
|
||||
|
||||
class PeerConnectionOut implements Runnable
|
||||
@@ -48,7 +49,7 @@ class PeerConnectionOut implements Runnable
|
||||
_id = ++__id;
|
||||
|
||||
quit = false;
|
||||
thread = new Thread(this, "Snark sender " + _id);
|
||||
thread = new I2PThread(this, "Snark sender " + _id);
|
||||
thread.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user