1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 23:25:26 +02:00

[229947][dstore] interruption to Thread.sleep() should not stop waitForUpdate()

This commit is contained in:
David McKnight 2008-05-02 14:07:05 +00:00
parent 60105e8ddf
commit 46f70ec4b4

View file

@ -318,8 +318,14 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
}
else
{
Thread.sleep(100);
try
{
Thread.sleep(100);
}
catch (InterruptedException e)
{
continue;
}
if (WaitThreshold > 0) // update timer count if
// threshold not reached
--WaitThreshold; // decrement the timer count