On Thu, 22 Feb 2001, Gianni Johansson wrote: > On Thursday 22 February 2001 13:39, Scott wrote: < > > > We already do that. If its *not* trimming back down, then you have > > connections stuck open or the thread trimming isn't working. > > > I'm pretty sure the thread trimming is working. I instrumented the code to > make sure that none of the EThread are being leaked. <> > Only threads for inbound connections come out of the ThreadPool right? > What ratio do we expect of pooled to non-pooled threads?
No, the Ticker starts processes using pooled threads as well. At least in the latest code it does, I can't quite remember whether that goes for 0.37 as well (but I think it does). It should be using the locking method for getting a thread from the pool. My goal for 0.4 is to not use any non pooled threads for stuff that comes up during normal node activity. This should create 4-5 times as many threads as there are connections. _______________________________________________ Devl mailing list Devl at freenetproject.org http://www.uprizer.com/mailman/listinfo/devl
