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:
6652258
)
add comment
author
Scott Graham
<scottmg@chromium.org>
Fri, 24 Apr 2015 21:25:17 +0000
(14:25 -0700)
committer
Scott Graham
<scottmg@chromium.org>
Fri, 24 Apr 2015 21:25:22 +0000
(14:25 -0700)
src/state.h
patch
|
blob
|
history
diff --git
a/src/state.h
b/src/state.h
index
d7987ba
..
58fac13
100644
(file)
--- a/
src/state.h
+++ b/
src/state.h
@@
-71,6
+71,9
@@
struct Pool {
/// |current_use_| is the total of the weights of the edges which are
/// currently scheduled in the Plan (i.e. the edges in Plan::ready_).
+ /// This is generally <= to depth_. It can exceed it very briefly when the
+ /// pool is notified about an edge that's about to be finished that will
+ /// not actually be started. See Plan::NodeFinished().
int current_use_;
int depth_;