diff options
Diffstat (limited to 'src')
-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 |