在《Java核心技术 卷II》第7章多线程里有这样一段代码:public void run()
{
    try
    {
        ...
        while(more work to do)
        {
            do more work
        }
    }
    catch(InterruptedException exception)
    {
        //thread was interrupted during sleep or wait
    }
    finally
    {
        cleanup ,if required
    }
    //exit run method and terminate thread
}书中说:“这个代码框架存在一个问题,如果在线程处于睡眠或者等待状态时调用interrupt方法,那么将不会产生任何InterruptedException事件”。
-----------------------------------------------------------------------------------------
上面这句话该怎么理解,interrupt方法的作用不就是:如果一个线程被调用的sleep或wait所中断,调用interrupt将产生一个InterruptException事件吗?脑袋晕了,谁给说明说明啊