This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] for Review: SelectorImpl.wakeup() + Synchronization


Hi Michael,

>Its needed to tell the thread doing the seletion if the selector was
>asynchroniously closed or interrupted by another thread.

I'm still not understanding this. There is no exception thrown
on thread interruption - select just returns 0. And a thread can
check its interrupted status to know if it was interrupted.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]