mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
[229947][dstore] interruption to Thread.sleep() should not stop waitForUpdate()
This commit is contained in:
parent
60105e8ddf
commit
46f70ec4b4
1 changed files with 8 additions and 2 deletions
|
@ -317,9 +317,15 @@ public class StatusMonitor implements IDomainListener, ICommunicationsListener
|
||||||
setDone(status);
|
setDone(status);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
|
}
|
||||||
|
catch (InterruptedException e)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (WaitThreshold > 0) // update timer count if
|
if (WaitThreshold > 0) // update timer count if
|
||||||
// threshold not reached
|
// threshold not reached
|
||||||
--WaitThreshold; // decrement the timer count
|
--WaitThreshold; // decrement the timer count
|
||||||
|
|
Loading…
Add table
Reference in a new issue