commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: [patch] NetComponents - TelnetInputStream.java threading issue
Date Thu, 19 Sep 2002 17:42:40 GMT

I wrote:
>In the patch, making __hasReachedEOF and __isClosed volatile doesn't do
>anything.  Those are not static variables.  Changing the notify() to

Er, what I meant to say is that assignments to those variables are already
protected by critical sections.  Your patch removed one of those protections,
so the volatile would have been appropriate.  I left in the protection.

daniel






--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message