mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 156872: CDT Internal builder parallelization proposal
This commit is contained in:
parent
c3bcbb5d9e
commit
31cb030bae
1 changed files with 16 additions and 0 deletions
|
@ -195,6 +195,22 @@ public class ProcessClosure {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The same functionality as "isAlive()"
|
||||||
|
* but does not affect out streams,
|
||||||
|
* because they can be shared among processes
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public boolean isRunning() {
|
||||||
|
if (fProcess != null) {
|
||||||
|
if (fOutputReader.isAlive() || fErrorReader.isAlive()) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
fProcess = null;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Forces the termination the launched process
|
* Forces the termination the launched process
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue