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:
jrandom
2005-12-16 23:18:56 +00:00
committed by zzz
parent 6f424fa751
commit 7d234b1978
8 changed files with 47 additions and 12 deletions

View File

@@ -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();
}