I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Aug 31, 2004
  2. Aug 30, 2004
  3. Aug 29, 2004
  4. Aug 27, 2004
  5. Aug 26, 2004
  6. Aug 25, 2004
    • jrandom's avatar
      * add a new simplified version of java.util.Timer/TimedEvent · 7e7f97d7
      jrandom authored and zzz's avatar zzz committed
      * removed all of the "temporary" threads used for adding timeouts to blocking socket operations:
       - use the ConnectionEstablisher's thread + a SimpleTimer.TimedEvent callback to timeout socket create
       - added a pool of socket handler threads (size=3 atm) for receiving any inbound sockets, which are
         pulled off a queue, after which a handshake occurs to verify the other side is I2NP (along side
         another SimpleTimer.TimedEvent callback in case that blocks)
      this should get the last of the temporary threads (Jetty has its own thread pool for dealing with
      HTTP requests, so we can ignore that thread created in the AdminRunner).  The only significant
      reduction in threads left is to go with either NIO or UDP, but neither are happening in the immediate
      future.
      7e7f97d7
    • jrandom's avatar
      oh, you mean we should actually stop waiting for something on a thread that... · 3a1fcf28
      jrandom authored and zzz's avatar zzz committed
      oh, you mean we should actually stop waiting for something on a thread that has nothing left to do?  what a concept!
      (this should kill the leaking thread issue)
      3a1fcf28
Loading