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:
parent
60105e8ddf
commit
46f70ec4b4
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue