diff options
author | Robert Iannucci <robbie@rail.com> | 2012-11-30 00:49:04 (GMT) |
---|---|---|
committer | Robert Iannucci <robbie@rail.com> | 2012-11-30 00:49:04 (GMT) |
commit | d21f528e0a91412a4a6d0f64722e7f437e0ee501 (patch) | |
tree | 3ba58dba9c79d0461990805f11b5108669608542 | |
parent | 02b9cbaea9d41bb9228aebbc1fe8c53ccdb4744c (diff) | |
download | Ninja-d21f528e0a91412a4a6d0f64722e7f437e0ee501.zip Ninja-d21f528e0a91412a4a6d0f64722e7f437e0ee501.tar.gz Ninja-d21f528e0a91412a4a6d0f64722e7f437e0ee501.tar.bz2 |
Doc improvements
-rw-r--r-- | src/build.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build.h b/src/build.h index 6bcfc07..c60b893 100644 --- a/src/build.h +++ b/src/build.h @@ -69,7 +69,15 @@ private: bool AddSubTarget(Node* node, vector<Node*>* stack, string* err); bool CheckDependencyCycle(Node* node, vector<Node*>* stack, string* err); void NodeFinished(Node* node); + + /// Submits a ready edge as a candidate for execution. + /// The edge may be delayed from running, for example if it's a member of a + /// currently-full pool. void ScheduleWork(Edge* edge); + + /// Allows jobs blocking on |edge| to potentially resume. + /// For example, if |edge| is a member of a pool, calling this may schedule + /// previously pending jobs in that pool. void ResumeDelayedJobs(Edge* edge); /// Keep track of which edges we want to build in this plan. If this map does |