harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [Fwd: [classlib][NIO|VMI]Interruptible channel implementation - how to interact with Thread?]
Date Thu, 15 Jun 2006 04:44:47 GMT

Andrew Zhang wrote:
> Geir :
>> Given that NIO is an advanced API, why would the NIO EG let the channel
>> user simply decide?  If you were interrupted while blocked on the
>> channel, you must close.  If not, you can use it...
> Most of users may prefer to decide the operation by themselves, but spec
> says:
> "If this thread is blocked in an I/O operation upon an interruptible
> channel
> then the channel will be closed, the thread's interrupt status will be set,
> and the thread will receive a ClosedByInterruptException. " :( It seems we
> have no choice.

I understand.  I just wonder what possessed the EG for NIO to decide


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message