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
this....

geir

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to