mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 03:55:22 +02:00
[306853][dstore] RD/z client hang after browse copy book command
This commit is contained in:
parent
24a0671ae7
commit
db54411058
1 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2002, 2009 IBM Corporation and others.
|
||||
* Copyright (c) 2002, 2010 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -15,11 +15,11 @@
|
|||
* David McKnight (IBM) [220123][dstore] Configurable timeout on irresponsiveness
|
||||
* David McKnight (IBM) [222168][dstore] Buffer in DataElement is not sent
|
||||
* David McKnight (IBM) [246826][dstore] KeepAlive does not work correctly
|
||||
* David McKnight (IBM) [306853][dstore] RD/z client hang after browse copy book command
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.dstore.internal.core.client;
|
||||
|
||||
import org.eclipse.dstore.core.java.IRemoteClassInstance;
|
||||
import org.eclipse.dstore.core.java.IRemoteClassInstance;
|
||||
import org.eclipse.dstore.core.model.CommandHandler;
|
||||
import org.eclipse.dstore.core.model.DE;
|
||||
import org.eclipse.dstore.core.model.DataElement;
|
||||
|
@ -28,6 +28,7 @@ import org.eclipse.dstore.core.model.DataStoreResources;
|
|||
import org.eclipse.dstore.internal.core.util.Sender;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* The ClientCommandHandler is reponsible for maintaining
|
||||
* a queue of commands and periodically sending commands
|
||||
|
@ -225,7 +226,7 @@ public class ClientCommandHandler extends CommandHandler
|
|||
while (_commands.size() > 0)
|
||||
{
|
||||
DataElement command = null;
|
||||
//synchronized (_commands)
|
||||
synchronized (_commands)
|
||||
{
|
||||
command = (DataElement)_commands.remove(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue