1
0
Fork 0
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:
Oleg Krasilnikov 2006-10-16 07:09:32 +00:00
parent c3bcbb5d9e
commit 31cb030bae

View file

@ -195,6 +195,22 @@ public class ProcessClosure {
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
*/