diff options
author | Scott Graham <scottmg@chromium.org> | 2015-04-24 21:25:17 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2015-04-24 21:25:22 (GMT) |
commit | dcdd042ca93fd0057d7e1b0eedfbab49790b2e00 (patch) | |
tree | 424a841744d5c80a1046f910c190cb953bb18351 /src | |
parent | 6652258c2fa510f043d32be95ef4c44eaa2800dc (diff) | |
download | Ninja-dcdd042ca93fd0057d7e1b0eedfbab49790b2e00.zip Ninja-dcdd042ca93fd0057d7e1b0eedfbab49790b2e00.tar.gz Ninja-dcdd042ca93fd0057d7e1b0eedfbab49790b2e00.tar.bz2 |
add comment
Diffstat (limited to 'src')
-rw-r--r-- | src/state.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h index d7987ba..58fac13 100644 --- 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_; |