On Wed, Feb 13, 2002 at 01:28:47PM -0500, Gianni Johansson wrote:
<> 
> How is receiveLock supposed to be notified?

The streams at the bottom of ConnectionHandler should do it when the
data is finished or they are closed. That is why it is important to
close the incoming data stream when a data message is not handled (that
is why there is DataSend.drop()). In theory missing to close these
streams should not lead to a stall because I purposely put the wait call
outside the scope of stream variable so it could be GCed if the mesage
thead just dropped it (though I wouldn't count on that working in all
JVMs.)

< >
> > > I am favoring #4.  I think we should use it for timeouts as well as
> > > rejected requests.
> > >
> #4 looks good to me. 

I'm always for some ref removal.

-- 

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to