This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] for Review: SelectorImpl.wakeup() + Synchronization
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Fri, 19 Dec 2003 10:24:02 -0600
- Subject: Re: [PATCH] for Review: SelectorImpl.wakeup() + Synchronization
- Reply-to: gnustuff at thisiscool dot com
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/