summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-10 19:09:24 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-10 19:09:24 +0000
commit40cf800503949929f1cf4860bfe9ee2912a7cbb7 (patch)
treeedaddd34c7d34aa39dbe953e68033a8bbd8cbea4 /src
parent912baebd6dee1638e3c9f8f82fb846f7f7349261 (diff)
downloadcpptasks-parallel-40cf800503949929f1cf4860bfe9ee2912a7cbb7.tar.gz
cpptasks-parallel-40cf800503949929f1cf4860bfe9ee2912a7cbb7.tar.bz2
cpptasks-parallel-40cf800503949929f1cf4860bfe9ee2912a7cbb7.tar.xz
cpptasks-parallel-40cf800503949929f1cf4860bfe9ee2912a7cbb7.zip
Small correction to wait for loop to finish
Diffstat (limited to 'src')
-rw-r--r--src/net/sf/antcontrib/cpptasks/CCTask.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/CCTask.java b/src/net/sf/antcontrib/cpptasks/CCTask.java
index 3825b22..c2b665f 100644
--- a/src/net/sf/antcontrib/cpptasks/CCTask.java
+++ b/src/net/sf/antcontrib/cpptasks/CCTask.java
@@ -718,8 +718,13 @@ public class CCTask extends Task {
}
}
-// FREEHEP
+// BEGINFREEHEP
progress.exit();
+ try {
+ progress.join();
+ } catch (InterruptedException e) {
+ }
+// ENDFREEHEP
//
// save the details of the object file compilation