summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2012-11-30 00:49:04 (GMT)
committerRobert Iannucci <robbie@rail.com>2012-11-30 00:49:04 (GMT)
commitd21f528e0a91412a4a6d0f64722e7f437e0ee501 (patch)
tree3ba58dba9c79d0461990805f11b5108669608542 /src
parent02b9cbaea9d41bb9228aebbc1fe8c53ccdb4744c (diff)
downloadNinja-d21f528e0a91412a4a6d0f64722e7f437e0ee501.zip
Ninja-d21f528e0a91412a4a6d0f64722e7f437e0ee501.tar.gz
Ninja-d21f528e0a91412a4a6d0f64722e7f437e0ee501.tar.bz2
Doc improvements
Diffstat (limited to 'src')
-rw-r--r--src/build.h8
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