mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-22 07:43:56 +02:00
minor shell output performance improvement merged from IBM rse to open rse.
This commit is contained in:
parent
a12a281480
commit
825fb49ddf
2 changed files with 12 additions and 4 deletions
|
@ -456,6 +456,7 @@ public class CommandMinerThread extends MinerThread
|
||||||
|
|
||||||
public void sendBreak()
|
public void sendBreak()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!_isWindows)
|
if (!_isWindows)
|
||||||
{
|
{
|
||||||
if (_processTracker != null)
|
if (_processTracker != null)
|
||||||
|
@ -463,6 +464,8 @@ public class CommandMinerThread extends MinerThread
|
||||||
_processTracker.killLastest();
|
_processTracker.killLastest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void sendInput(String input)
|
public void sendInput(String input)
|
||||||
|
@ -870,6 +873,7 @@ public class CommandMinerThread extends MinerThread
|
||||||
|
|
||||||
public void cleanupThread()
|
public void cleanupThread()
|
||||||
{
|
{
|
||||||
|
refreshStatus();
|
||||||
/*
|
/*
|
||||||
if (_isShell)
|
if (_isShell)
|
||||||
{
|
{
|
||||||
|
@ -994,8 +998,11 @@ public class CommandMinerThread extends MinerThread
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void refreshStatus()
|
||||||
|
{
|
||||||
_dataStore.refresh(_status);
|
_dataStore.refresh(_status);
|
||||||
_dataStore.disconnectObjects(_status);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void createPrompt(String line, String fileName)
|
public void createPrompt(String line, String fileName)
|
||||||
|
@ -1222,8 +1229,7 @@ public class CommandMinerThread extends MinerThread
|
||||||
}
|
}
|
||||||
obj.setAttribute(DE.A_SOURCE, obj.getSource() + ':' + line.toString());
|
obj.setAttribute(DE.A_SOURCE, obj.getSource() + ':' + line.toString());
|
||||||
}
|
}
|
||||||
_dataStore.refresh(_status);
|
|
||||||
_dataStore.disconnectObjects(_status);
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -107,6 +107,8 @@ public class OutputHandler extends Handler
|
||||||
}
|
}
|
||||||
if (!_isTerminal)
|
if (!_isTerminal)
|
||||||
doPrompt();
|
doPrompt();
|
||||||
|
|
||||||
|
_commandThread.refreshStatus();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue