projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ca8b5
)
don't wait for subprocs when none running
author
Evan Martin
<martine@danga.com>
Wed, 1 Dec 2010 00:19:02 +0000
(16:19 -0800)
committer
Evan Martin
<martine@danga.com>
Wed, 1 Dec 2010 00:19:02 +0000
(16:19 -0800)
build.cc
patch
|
blob
|
history
diff --git
a/build.cc
b/build.cc
index
a7d2418
..
83282e5
100644
(file)
--- a/
build.cc
+++ b/
build.cc
@@
-113,7
+113,7
@@
bool RealCommandRunner::StartCommand(Edge* edge) {
}
void RealCommandRunner::WaitForCommands() {
- while (subprocs_.finished_.empty()) {
+ while (subprocs_.finished_.empty()
&& !subprocs_.running_.empty()
) {
subprocs_.DoWork();
}
}