mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
[229947][dstore] interruption to Thread.sleep() should not stop waitForUpdate()
This commit is contained in:
parent
07ff185a8d
commit
dbd1657b40
1 changed files with 10 additions and 2 deletions
|
@ -14,6 +14,7 @@
|
|||
* Contributors:
|
||||
* Martin Oberhuber (Wind River) - [168870] refactor org.eclipse.rse.core package of the UI plugin
|
||||
* David McKnight (IBM) - [225902] [dstore] use C_NOTIFICATION command to wake up the server
|
||||
* David McKnight (IBM) - [229947] [dstore] [dstore] interruption to Thread.sleep() should not stop waitForUpdate()
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.connectorservice.dstore.util;
|
||||
|
@ -362,8 +363,15 @@ 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