On Fri, 2003-10-17 at 14:08, Toad wrote:
> This seems a little crazy too. Exactly what thread are we running it
> in-place on?

One of the YThreads.  Don't know which one yet, but it will
start within 100ms (or whatever you set the tolerable queue delay
to, always assuming that Fred is getting any CPU time.  Sometimes
users use their computers for other things...)

> 
> On Thu, Oct 16, 2003 at 08:53:12PM -0700, Edward J. Huff wrote:
> > Update of /cvsroot/freenet/freenet/src/freenet/interfaces
> > In directory sc8-pr-cvs1:/tmp/cvs-serv8829
> > 
> > Modified Files:
> >     LocalNIOInterface.java 
> > Log Message:
> > Added mode line.  indenting.
> > threadfactory.getThread() might return null.
> > That code not tested b/c needs logDEBUG.
> > 
> > 
> > Index: LocalNIOInterface.java
> > ===================================================================
> > RCS file: /cvsroot/freenet/freenet/src/freenet/interfaces/LocalNIOInterface.java,v
> > retrieving revision 1.7
> > retrieving revision 1.8
> > diff -u -w -r1.7 -r1.8
> > --- LocalNIOInterface.java  6 Sep 2003 02:21:31 -0000       1.7
> > +++ LocalNIOInterface.java  17 Oct 2003 03:53:10 -0000      1.8
> > @@ -1,3 +1,4 @@
> > +/* -*- Mode: java; c-basic-indent: 4; tab-width: 4 -*- */
> >  package freenet.interfaces;
> >  import freenet.thread.ThreadFactory;
> >  import freenet.transport.tcpConnection;
> > @@ -188,9 +189,12 @@
> >      protected void realHandleConnection(Connection conn) {
> >     if(runner.needsThread()) {
> >         Thread t = tf.getThread(new ConnectionShell(conn));
> > -       if(logDEBUG)
> > +                   if(logDEBUG) {
> > +                           String tname = "";
> > +                           if (t != null) tname = t.toString();
> >             Core.logger.log(this, "Allocated thread for local connection: "+
> > -                           t+":"+conn, Core.logger.DEBUG);
> > +                                                           tname+":"+conn, 
> > Core.logger.DEBUG);
> > +                   }
> >     } else {
> >         if(logDEBUG)
> >             Core.logger.log(this, "Running local connection in-thread: "+
> > 
> > _______________________________________________
> > cvs mailing list
> > [EMAIL PROTECTED]
> > http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to