Re: In Mutex.aquire why do we need to throw InterruptedException
by =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne@[EMAIL PROTECTED]
>
May 11, 2008 at 06:24 PM
puzzlecracker wrote:
> It is a copy and paste from Doug Lea's Mutex implementation. I dont
> understand the point of this line:
> if (Thread.interrupted()) throw new InterruptedException();
If interrupt has been called on the thread, then you do not
want to start waiting !?!?
Arne