On 21 Aug 2001 13:21:54 -0400, Stuart Ballard wrote:
> John Keiser wrote:
>
> > That's some nice code. But how could super.unread() ever get called if
> > read() is in its loop? They're both synchronized on this.
>
> AIUI, wait() causes all monitors to be temporarily released. So a call
> to unread() will go through as soon as read() hits the line that says
> wait().
>
> But ICBVW...
>
Verily, you speak the truth. You have seen deep into the heart of my
fallacy and pierced it to the core. Thanks :)
--John
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath