commit | 3d97e2245dbbd34d3428218e745a3770c6d1c0ee | [log] [tgz] |
---|---|---|
author | Lukacs Berki <lberki@google.com> | Fri Aug 19 14:40:20 2016 +0000 |
committer | Yue Gan <yueg@google.com> | Mon Aug 22 08:11:02 2016 +0000 |
tree | a93a61ffc98339b363dea6d06cfa7e35530c870e | |
parent | f5cf200376dd7ebd201138283b2585a6e0cab260 [diff] [blame] |
Implement timeouts on Windows. Makes #1664 much less acute. -- MOS_MIGRATED_REVID=130750731
diff --git a/src/main/java/com/google/devtools/build/lib/shell/Subprocess.java b/src/main/java/com/google/devtools/build/lib/shell/Subprocess.java index e5710e7..769b6b5 100644 --- a/src/main/java/com/google/devtools/build/lib/shell/Subprocess.java +++ b/src/main/java/com/google/devtools/build/lib/shell/Subprocess.java
@@ -53,6 +53,11 @@ boolean finished(); /** + * Returns if the process timed out. + */ + boolean timedout(); + + /** * Waits for the process to finish. */ void waitFor() throws InterruptedException;